This repository has been archived by the owner on Mar 5, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #40 from elbgoods/v2
V2
- Loading branch information
Showing
19 changed files
with
225 additions
and
266 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 |
---|---|---|
|
@@ -3,19 +3,23 @@ name: normalize composer.json | |
on: | ||
push: | ||
paths: | ||
- 'composer.json' | ||
- "composer.json" | ||
|
||
jobs: | ||
normalize: | ||
timeout-minutes: 1 | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Git checkout | ||
uses: actions/checkout@v2 | ||
|
||
- name: Validate Composer configuration | ||
run: composer validate --strict | ||
|
||
- name: normalize composer.json | ||
run: | | ||
composer global require ergebnis/composer-normalize | ||
composer normalize | ||
composer normalize --indent-style=space --indent-size=4 --no-check-lock --no-update-lock --no-interaction --ansi | ||
- uses: stefanzweifel/[email protected] | ||
with: | ||
|
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,3 +1,5 @@ | ||
/vendor | ||
/node_modules | ||
/vendor/ | ||
/node_modules/ | ||
composer.lock | ||
/vendor-bin/*/vendor/ | ||
/vendor-bin/*/composer.lock |
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,56 +1,65 @@ | ||
{ | ||
"name": "elbgoods/ci-test-tools", | ||
"description": "CI Test Tools used by Elbgoods GmbH", | ||
"keywords": [], | ||
"license": "MIT", | ||
"authors": [ | ||
{ | ||
"name": "Tom Witkowski", | ||
"email": "[email protected]", | ||
"homepage": "https://gummibeer.de", | ||
"role": "Developer" | ||
} | ||
], | ||
"require": { | ||
"php": "^7.2", | ||
"friendsofphp/php-cs-fixer": "^2.16.1", | ||
"illuminate/support": "^6.0 || ^7.0", | ||
"jasonmccreary/laravel-test-assertions": "^0.3", | ||
"nunomaduro/larastan": "^0.5.0", | ||
"nunomaduro/phpinsights": "^1.14", | ||
"orchestra/testbench": "^4.0 || ^5.0", | ||
"pdepend/pdepend": "@stable", | ||
"phpmd/phpmd": "^2.8", | ||
"phpstan/phpstan": "^0.12.8", | ||
"phpunit/phpunit": "^8.0 || ^9.0", | ||
"povils/phpmnd": "^2.2", | ||
"tightenco/tlint": "^5.0.5" | ||
}, | ||
"require-dev": { | ||
"illuminate/database": "^6.0 || ^7.0", | ||
"laravel/framework": "^6.0 || ^7.0", | ||
"spatie/enum": "^2.3" | ||
}, | ||
"autoload": { | ||
"psr-4": { | ||
"Elbgoods\\CiTestTools\\": "src/" | ||
"name": "elbgoods/ci-test-tools", | ||
"description": "CI Test Tools used by Elbgoods GmbH", | ||
"keywords": [], | ||
"license": "MIT", | ||
"authors": [ | ||
{ | ||
"name": "Tom Witkowski", | ||
"email": "[email protected]", | ||
"homepage": "https://gummibeer.de", | ||
"role": "Developer" | ||
} | ||
], | ||
"require": { | ||
"php": "^7.3 || ^8.0", | ||
"illuminate/database": "^7.0 || ^8.0", | ||
"illuminate/support": "^7.0 || ^8.0", | ||
"illuminate/testing": "^7.0 || ^8.0", | ||
"phpunit/phpunit": "^9.3" | ||
}, | ||
"require-dev": { | ||
"bamarni/composer-bin-plugin": "^1.4" | ||
}, | ||
"files": [ | ||
"override/SlevomatCodingStandard/Helpers/SuppressHelper.php" | ||
"suggest": { | ||
"friendsofphp/php-cs-fixer": "vendor/bin/php-cs-test", | ||
"nunomaduro/larastan": "vendor/bin/php-stan-test", | ||
"nunomaduro/phpinsights": "vendor/bin/php-insights-test", | ||
"phpmd/phpmd": "vendor/bin/php-md-test", | ||
"povils/phpmnd": "vendor/bin/php-mn-test", | ||
"tightenco/tlint": "vendor/bin/php-tlint-test" | ||
}, | ||
"autoload": { | ||
"psr-4": { | ||
"Elbgoods\\CiTestTools\\": "src/" | ||
} | ||
}, | ||
"minimum-stability": "dev", | ||
"prefer-stable": true, | ||
"bin": [ | ||
"bin/php-cs-fix", | ||
"bin/php-cs-test", | ||
"bin/php-insights-test", | ||
"bin/php-md-test", | ||
"bin/php-mn-test", | ||
"bin/php-stan-test", | ||
"bin/php-tlint-test" | ||
], | ||
"exclude-from-classmap": [ | ||
"vendor/slevomat/coding-standard/SlevomatCodingStandard/Helpers/SuppressHelper.php" | ||
] | ||
}, | ||
"minimum-stability": "dev", | ||
"prefer-stable": true, | ||
"bin": [ | ||
"bin/php-cs-fix", | ||
"bin/php-cs-test", | ||
"bin/php-insights-test", | ||
"bin/php-md-test", | ||
"bin/php-mn-test", | ||
"bin/php-stan-test", | ||
"bin/php-tlint-test" | ||
] | ||
"scripts": { | ||
"post-install-cmd": [ | ||
"@composer bin all install --ansi --no-interaction --quiet" | ||
], | ||
"post-update-cmd": [ | ||
"@composer bin all update --ansi --no-interaction --quiet" | ||
], | ||
"bin": "echo 'composer install --dev'", | ||
"test": [ | ||
"bin/php-cs-test", | ||
"bin/php-mn-test ./src", | ||
"bin/php-md-test ./src", | ||
"bin/php-tlint-test ./src", | ||
"bin/php-insights-test", | ||
"bin/php-stan-test" | ||
] | ||
} | ||
} |
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,6 +1,3 @@ | ||
parameters: | ||
level: 5 | ||
checkMissingIterableValueType: false | ||
ignoreErrors: | ||
- '#Unsafe usage of new static#' | ||
- '#PHPDoc tag @var for variable \$[a-zA-Z0-9]+ has invalid type .+#' |
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,9 +1,7 @@ | ||
includes: | ||
- ./vendor/nunomaduro/larastan/extension.neon | ||
- ./vendor-bin/php-stan/vendor/nunomaduro/larastan/extension.neon | ||
- ./configs/phpstan.neon.dist | ||
|
||
parameters: | ||
paths: | ||
- ./src | ||
ignoreErrors: | ||
- '#Call to static method [a-zA-Z0-9_]+\(\) on trait [a-zA-Z\\]+#' |
Oops, something went wrong.