-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding some of the most common php tooling - phpunit for running unit…
… tests, paratest for running the same unitests in parallel, and php-cs-fixer for enforcing formatting. php-cs-fixer could be considered to be promoted to being a linter as soon as I work out how to parse its output and feed it through a post-processor like phpstan is
- Loading branch information
1 parent
f5a032c
commit d724356
Showing
3 changed files
with
33 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
version: 0.1 | ||
tools: | ||
definitions: | ||
- name: paratest | ||
runtime: php | ||
package: brianium/paratest | ||
known_good_version: 7.4.3 | ||
shims: [paratest] | ||
environment: | ||
- name: PATH | ||
list: ["${tool}/vendor/bin"] |
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
version: 0.1 | ||
tools: | ||
definitions: | ||
- name: php-cs-fixer | ||
runtime: php | ||
package: friendsofphp/php-cs-fixer | ||
known_good_version: 3.54.0 | ||
shims: [php-cs-fixer] | ||
environment: | ||
- name: PATH | ||
list: ["${tool}/vendor/bin"] |
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
version: 0.1 | ||
tools: | ||
definitions: | ||
- name: phpunit | ||
runtime: php | ||
package: phpunit/phpunit | ||
known_good_version: 11.1.3 | ||
shims: [phpunit] | ||
environment: | ||
- name: PATH | ||
list: ["${tool}/vendor/bin"] |