Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cleanup, add test cases, raise MSI to 100% (#26)
- Loading branch information
Showing
16 changed files
with
218 additions
and
201 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,3 +12,6 @@ trim_trailing_whitespace = true | |
|
||
[*.md] | ||
trim_trailing_whitespace = false | ||
|
||
[*.yml] | ||
indent_size = 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
version: 2 | ||
updates: | ||
# Maintain dependencies for GitHub Actions. | ||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
interval: "daily" | ||
# Too noisy. See https://github.community/t/increase-if-necessary-for-github-actions-in-dependabot/179581 | ||
open-pull-requests-limit: 0 | ||
# Maintain dependencies for GitHub Actions. | ||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
interval: "daily" | ||
# Too noisy. See https://github.community/t/increase-if-necessary-for-github-actions-in-dependabot/179581 | ||
open-pull-requests-limit: 0 | ||
|
||
# Maintain dependencies for Composer | ||
- package-ecosystem: "composer" | ||
directory: "/" | ||
schedule: | ||
interval: "daily" | ||
versioning-strategy: increase-if-necessary | ||
# Maintain dependencies for Composer | ||
- package-ecosystem: "composer" | ||
directory: "/" | ||
schedule: | ||
interval: "daily" | ||
versioning-strategy: increase-if-necessary |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
on: | ||
- pull_request | ||
- push | ||
- pull_request | ||
- push | ||
|
||
name: backwards compatibility | ||
jobs: | ||
roave_bc_check: | ||
name: Roave BC Check | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@master | ||
- name: fetch tags | ||
run: git fetch --depth=1 origin +refs/tags/*:refs/tags/* | ||
- name: Roave BC Check | ||
uses: docker://nyholm/roave-bc-check-ga | ||
roave_bc_check: | ||
name: Roave BC Check | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@master | ||
- name: fetch tags | ||
run: git fetch --depth=1 origin +refs/tags/*:refs/tags/* | ||
- name: Roave BC Check | ||
uses: docker://nyholm/roave-bc-check-ga |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
watch: | ||
directories: | ||
- src | ||
- tests | ||
fileMask: '*.php' | ||
directories: | ||
- src | ||
- tests | ||
fileMask: '*.php' | ||
notifications: | ||
passingTests: false | ||
failingTests: false | ||
passingTests: false | ||
failingTests: false | ||
phpunit: | ||
binaryPath: vendor/bin/phpunit | ||
timeout: 180 | ||
binaryPath: vendor/bin/phpunit | ||
timeout: 180 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,33 @@ | ||
checks: | ||
php: true | ||
php: true | ||
|
||
filter: | ||
paths: | ||
- "src/*" | ||
paths: | ||
- "src/*" | ||
|
||
build: | ||
nodes: | ||
analysis: | ||
environment: | ||
php: 7.4.12 | ||
|
||
tests: | ||
override: | ||
- php-scrutinizer-run | ||
|
||
tests-and-coverage: | ||
environment: | ||
php: 7.4.12 | ||
|
||
dependencies: | ||
override: | ||
- composer self-update | ||
- composer update --prefer-dist --no-interaction --no-progress --optimize-autoloader --ansi | ||
|
||
tests: | ||
override: | ||
- | ||
command: "./vendor/bin/phpunit --coverage-clover ./coverage.xml" | ||
on_node: 1 | ||
coverage: | ||
file: coverage.xml | ||
format: php-clover | ||
|
||
|
||
nodes: | ||
analysis: | ||
environment: | ||
php: 7.4.12 | ||
|
||
tests: | ||
override: | ||
- php-scrutinizer-run | ||
|
||
tests-and-coverage: | ||
environment: | ||
php: 7.4.12 | ||
|
||
dependencies: | ||
override: | ||
- composer self-update | ||
- composer update --prefer-dist --no-interaction --no-progress --optimize-autoloader --ansi | ||
|
||
tests: | ||
override: | ||
- command: "./vendor/bin/phpunit --coverage-clover ./coverage.xml" | ||
on_node: 1 | ||
coverage: | ||
file: coverage.xml | ||
format: php-clover |
Oops, something went wrong.