forked from fzaninotto/Faker
-
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.
Merge branch 'master' of github.com:Partoo/Faker
* 'master' of github.com:Partoo/Faker: (294 commits) Fix (bug fzaninotto#1862): Do not clear entity manager for doctrine orm populator (fzaninotto#1995) Remove persian rude words. (fzaninotto#1879) Enhancement: Run builds on master using GitHub Actions Fix typo (fzaninotto#1927) Fix: Run build against PHP 7.4 Fix: Aggregate badges in one place (fzaninotto#1866) Added changelog for the 1.9.1 release Fix: Reduce visibility of setUp() and tearDown() (fzaninotto#1821) Enhancement: Collect code coverage (fzaninotto#1824) Enhancement: Use all columns when running tests Add link to PHPStan extension to readme (fzaninotto#1834) Enhancement: Configure verbose output via phpunit.xml.dist Update master version Bump version to 1.9 Curly braces for arrays is deprecated in PHP 7.4 (detected by PHPCompatibility) Updated indenting changelog Update changelog with 1.9.0 release Skipped lorumpixel test for the release where the service is pretty unstable Fix: Mark test classes as final Fix: Remove unnecessary class-level DocBlocks ...
- Loading branch information
Showing
264 changed files
with
34,538 additions
and
831 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,6 @@ | ||
/test/ export-ignore | ||
/.gitattributes export-ignore | ||
/.gitignore export-ignore | ||
/CONTRIBUTING.md export-ignore | ||
/Makefile export-ignore | ||
/phpunit.xml.dist export-ignore |
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,39 @@ | ||
--- | ||
name: Bug report | ||
about: Create a report to help us improve | ||
title: '' | ||
labels: '' | ||
assignees: '' | ||
|
||
--- | ||
|
||
### Summary | ||
|
||
<!-- provide a summary here --> | ||
|
||
### Versions | ||
|
||
<!-- Please provide the versions of PHP as well as `fzaninotto/faker` on which the issue has been observed --> | ||
|
||
| | Version | | ||
|:--------------------|:--------| | ||
| PHP | x.y.z | | ||
| `fzaninotto/faker` | x.y.z | | ||
|
||
### Self-enclosed code snippet for reproduction | ||
|
||
```php | ||
<!-- please replace this with a self-enclosed usage example --> | ||
``` | ||
|
||
### Expected output | ||
|
||
```txt | ||
<!-- please replace this with the expected output of your self-enclosed example --> | ||
``` | ||
|
||
### Actual output | ||
|
||
```txt | ||
<!-- please replace this with the actual output of your self-enclosed example --> | ||
``` |
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,144 @@ | ||
# https://help.github.com/en/categories/automating-your-workflow-with-github-actions | ||
|
||
on: | ||
pull_request: | ||
push: | ||
branches: | ||
- "master" | ||
tags: | ||
- "**" | ||
|
||
name: "Continuous Integration" | ||
|
||
jobs: | ||
coding-standards: | ||
name: "Coding Standards" | ||
|
||
runs-on: "ubuntu-latest" | ||
|
||
strategy: | ||
matrix: | ||
php-version: | ||
- "5.3" | ||
|
||
steps: | ||
- name: "Checkout" | ||
uses: "actions/checkout@v2" | ||
|
||
- name: "Install PHP with extensions" | ||
uses: "shivammathur/setup-php@v2" | ||
with: | ||
coverage: "none" | ||
extensions: "intl" | ||
php-version: "${{ matrix.php-version }}" | ||
|
||
- name: "Determine composer cache directory" | ||
id: "determine-composer-cache-directory" | ||
run: "echo \"::set-output name=directory::$(composer config cache-dir)\"" | ||
|
||
- name: "Cache dependencies installed with composer" | ||
uses: "actions/cache@v1" | ||
with: | ||
path: "${{ steps.determine-composer-cache-directory.outputs.directory }}" | ||
key: "php-${{ matrix.php-version }}-composer-${{ hashFiles('**/composer.json') }}" | ||
restore-keys: "php-${{ matrix.php-version }}-composer-" | ||
|
||
- name: "Install dependencies with composer" | ||
run: "composer install --no-interaction --no-progress --no-suggest" | ||
|
||
- name: "Run squizlabs/php_codesniffer" | ||
run: "vendor/bin/phpcs --standard=PSR2 src -n" | ||
|
||
tests: | ||
name: "Tests" | ||
|
||
runs-on: "ubuntu-latest" | ||
|
||
strategy: | ||
matrix: | ||
php-version: | ||
- "5.3" | ||
- "5.4" | ||
- "5.5" | ||
- "5.6" | ||
- "7.0" | ||
- "7.1" | ||
- "7.2" | ||
- "7.3" | ||
- "7.4" | ||
|
||
steps: | ||
- name: "Checkout" | ||
uses: "actions/checkout@v2" | ||
|
||
- name: "Install PHP with extensions" | ||
uses: "shivammathur/setup-php@v2" | ||
with: | ||
coverage: "none" | ||
extensions: "intl" | ||
ini-values: "memory_limit=-1" | ||
php-version: "${{ matrix.php-version }}" | ||
|
||
- name: "Determine composer cache directory" | ||
id: "determine-composer-cache-directory" | ||
run: "echo \"::set-output name=directory::$(composer config cache-dir)\"" | ||
|
||
- name: "Cache dependencies installed with composer" | ||
uses: "actions/cache@v1" | ||
with: | ||
path: "${{ steps.determine-composer-cache-directory.outputs.directory }}" | ||
key: "php-${{ matrix.php-version }}-composer-${{ hashFiles('**/composer.json') }}" | ||
restore-keys: "php-${{ matrix.php-version }}-composer-" | ||
|
||
- name: "Install dependencies with composer" | ||
run: "composer install --no-interaction --no-progress --no-suggest" | ||
|
||
- name: "Run tests with phpunit/phpunit" | ||
run: "vendor/bin/phpunit" | ||
|
||
code-coverage: | ||
name: "Code Coverage" | ||
|
||
runs-on: "ubuntu-latest" | ||
|
||
strategy: | ||
matrix: | ||
php-version: | ||
- "7.4" | ||
|
||
steps: | ||
- name: "Checkout" | ||
uses: "actions/checkout@v2" | ||
|
||
- name: "Install PHP with extensions" | ||
uses: "shivammathur/setup-php@v2" | ||
with: | ||
coverage: "xdebug" | ||
extensions: "intl" | ||
ini-values: "memory_limit=-1" | ||
php-version: "${{ matrix.php-version }}" | ||
|
||
- name: "Determine composer cache directory" | ||
id: "determine-composer-cache-directory" | ||
run: "echo \"::set-output name=directory::$(composer config cache-dir)\"" | ||
|
||
- name: "Cache dependencies installed with composer" | ||
uses: "actions/cache@v1" | ||
with: | ||
path: "${{ steps.determine-composer-cache-directory.outputs.directory }}" | ||
key: "php-${{ matrix.php-version }}-composer-${{ hashFiles('**/composer.json') }}" | ||
restore-keys: "php-${{ matrix.php-version }}-composer-" | ||
|
||
- name: "Install dependencies with composer" | ||
run: "composer install --no-interaction --no-progress --no-suggest" | ||
|
||
- name: "Create build directory" | ||
run: "mkdir -p .build/logs" | ||
|
||
- name: "Collect code coverage with Xdebug and phpunit/phpunit" | ||
run: "vendor/bin/phpunit --coverage-clover=.build/logs/clover.xml" | ||
|
||
- name: "Send code coverage report to Codecov.io" | ||
env: | ||
CODECOV_TOKEN: "${{ secrets.CODECOV_TOKEN }}" | ||
run: "bash <(curl -s https://codecov.io/bash)" |
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,2 +1,3 @@ | ||
.build/ | ||
vendor | ||
composer.lock |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.