-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Typo 13
committed
Jan 2, 2021
0 parents
commit eed894e
Showing
1,000 changed files
with
80,310 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,8 @@ | ||
# .gitignore | ||
|
||
/build | ||
/vendor | ||
/tests/App/cache | ||
/tests/App/logs | ||
.idea | ||
.phpunit.result.cache |
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 @@ | ||
eaaec6e057e3ffb9e16d1e92c3337d9e |
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 @@ | ||
phpunit-8.3-0 |
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,14 @@ | ||
root = true | ||
|
||
[*] | ||
end_of_line = lf | ||
insert_final_newline = true | ||
indent_style = space | ||
indent_size = 4 | ||
charset = utf-8 | ||
|
||
[*.yml] | ||
indent_size = 2 | ||
|
||
[tests/_files/*_result_cache.txt] | ||
insert_final_newline = false |
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,6 @@ | ||
/.docker export-ignore | ||
/build export-ignore | ||
/tools export-ignore | ||
|
||
*.php diff=php | ||
|
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,28 @@ | ||
# Contributor Code of Conduct | ||
|
||
As contributors and maintainers of this project, and in the interest of fostering an open and welcoming community, we pledge to respect all people who contribute through reporting issues, posting feature requests, updating documentation, submitting pull requests or patches, and other activities. | ||
|
||
We are committed to making participation in this project a harassment-free experience for everyone, regardless of level of experience, gender, gender identity and expression, sexual orientation, disability, personal appearance, body size, race, ethnicity, age, religion, or nationality. | ||
|
||
Examples of unacceptable behavior by participants include: | ||
|
||
* The use of sexualized language or imagery | ||
* Personal attacks | ||
* Trolling or insulting/derogatory comments | ||
* Public or private harassment | ||
* Publishing other's private information, such as physical or electronic | ||
addresses, without explicit permission | ||
* Other unethical or unprofessional conduct | ||
|
||
Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful. | ||
|
||
By adopting this Code of Conduct, project maintainers commit themselves to fairly and consistently applying these principles to every aspect of managing this project. Project maintainers who do not follow or enforce the Code of Conduct may be permanently removed from the project team. | ||
|
||
This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. | ||
|
||
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project maintainer at [email protected]. All complaints will be reviewed and investigated and will result in a response that is deemed necessary and appropriate to the circumstances. Maintainers are obligated to maintain confidentiality with regard to the reporter of an incident. | ||
|
||
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.3.0, available at [https://contributor-covenant.org/version/1/3/0/][version] | ||
|
||
[homepage]: https://contributor-covenant.org | ||
[version]: https://contributor-covenant.org/version/1/3/0/ |
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,68 @@ | ||
# Contributing to PHPUnit | ||
|
||
## Contributor Code of Conduct | ||
|
||
Please note that this project is released with a [Contributor Code of Conduct](CODE_OF_CONDUCT.md). By participating in this project you agree to abide by its terms. | ||
|
||
## Workflow | ||
|
||
* Fork the project. | ||
* Make your bug fix or feature addition. | ||
* Add tests for it. This is important so we don't break it in a future version unintentionally. | ||
* Send a pull request. Bonus points for topic branches. | ||
|
||
Please make sure that you have [set up your user name and email address](https://git-scm.com/book/en/v2/Getting-Started-First-Time-Git-Setup) for use with Git. Strings such as `silly nick name <root@localhost>` look really stupid in the commit history of a project. | ||
|
||
Pull requests for bug fixes must be made for the oldest branch that is [supported](https://phpunit.de/supported-versions.html). Pull requests for new features must be based on the `master` branch. | ||
|
||
We are trying to keep backwards compatibility breaks in PHPUnit to an absolute minimum. Please take this into account when proposing changes. | ||
|
||
Due to time constraints, we are not always able to respond as quickly as we would like. Please do not take delays personal and feel free to remind us if you feel that we forgot to respond. | ||
|
||
## Coding Guidelines | ||
|
||
This project comes with a configuration file and an executable for [php-cs-fixer](https://github.com/FriendsOfPHP/PHP-CS-Fixer) (`.php_cs`) that you can use to (re)format your source code for compliance with this project's coding guidelines: | ||
|
||
```bash | ||
$ ./tools/php-cs-fixer fix | ||
``` | ||
|
||
## Using PHPUnit from a Git checkout | ||
|
||
The following commands can be used to perform the initial checkout of PHPUnit: | ||
|
||
```bash | ||
$ git clone git://github.com/sebastianbergmann/phpunit.git | ||
|
||
$ cd phpunit | ||
``` | ||
|
||
Retrieve PHPUnit's dependencies using [Composer](https://getcomposer.org/): | ||
|
||
```bash | ||
$ ./tools/composer install | ||
``` | ||
|
||
The `phpunit` script can be used to invoke the PHPUnit test runner: | ||
|
||
```bash | ||
$ ./phpunit --version | ||
``` | ||
|
||
## Running PHPUnit's own test suite | ||
|
||
After following the steps shown above, PHPUnit's own test suite is run like this: | ||
|
||
```bash | ||
$ ./phpunit | ||
``` | ||
|
||
## Reporting issues | ||
|
||
Please use the most specific issue tracker to search for existing tickets and to open new tickets: | ||
|
||
* [General problems](https://github.com/sebastianbergmann/phpunit/issues) | ||
* [Code Coverage](https://github.com/sebastianbergmann/php-code-coverage/issues) | ||
* [Documentation](https://github.com/sebastianbergmann/phpunit-documentation-english/issues) | ||
* [Website](https://github.com/sebastianbergmann/phpunit-website/issues) | ||
|
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,2 @@ | ||
patreon: s_bergmann | ||
custom: https://phpunit.de/donate.html |
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,15 @@ | ||
| Q | A | ||
| --------------------| --------------- | ||
| PHPUnit version | x.y.z | ||
| PHP version | x.y.z | ||
| Installation Method | Composer / PHAR | ||
|
||
<!-- | ||
- Please fill in this template according to your issue. | ||
- Please keep the table shown above at the top of your issue. | ||
- Please include the output of "composer info | sort" if you installed PHPUnit using Composer. | ||
- Please post code as text (using proper markup). Do not post screenshots of code. | ||
- Visit https://phpunit.de/support.html if you are looking for support. | ||
- Otherwise, replace this comment by the description of your issue. | ||
--> | ||
|
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,44 @@ | ||
# https://help.github.com/en/categories/automating-your-workflow-with-github-actions | ||
|
||
on: | ||
- push | ||
- pull_request | ||
|
||
name: CI | ||
|
||
jobs: | ||
coding-guidelines: | ||
name: Coding Guidelines | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@master | ||
|
||
- name: Run friendsofphp/php-cs-fixer | ||
run: php7.3 ./tools/php-cs-fixer fix --diff-format=udiff --dry-run --show-progress=dots --using-cache=no --verbose | ||
|
||
type-checker: | ||
name: Type Checker | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@master | ||
|
||
- name: Update dependencies with composer | ||
run: php7.3 ./tools/composer update --no-interaction --no-ansi --no-progress --no-suggest | ||
|
||
- name: Run vimeo/psalm on public API | ||
run: php7.3 ./tools/psalm --config=.psalm/static-analysis.xml --no-progress --show-info=false | ||
|
||
- name: Run vimeo/psalm on internal code | ||
run: php7.3 ./tools/psalm --config=.psalm/config.xml --no-progress --shepherd --show-info=false --stats | ||
|
||
backward-compatibility: | ||
name: Backward Compatibility | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@master | ||
|
||
- name: Run roave/backward-compatibility-check | ||
run: php7.3 ./tools/roave-backward-compatibility-check --from=8.3.3 |
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,21 @@ | ||
/.ant_targets | ||
/.idea | ||
/.php_cs | ||
/.php_cs.cache | ||
/build/documentation | ||
/build/logfiles | ||
/build/phar | ||
/build/phar-scoped | ||
/build/phpdox | ||
/build/*.phar | ||
/build/*.phar.asc | ||
/build/binary-phar-autoload.php | ||
/cache.properties | ||
/composer.lock | ||
/tests/end-to-end/*.diff | ||
/tests/end-to-end/*.exp | ||
/tests/end-to-end/*.log | ||
/tests/end-to-end/*.out | ||
/tests/end-to-end/*.php | ||
/vendor | ||
.phpunit.result.cache |
Oops, something went wrong.