Skip to content

Commit

Permalink
prettier: Autofix.
Browse files Browse the repository at this point in the history
  • Loading branch information
drupol committed Aug 23, 2022
1 parent bbfb1c8 commit ff03ea6
Show file tree
Hide file tree
Showing 19 changed files with 511 additions and 482 deletions.
65 changes: 47 additions & 18 deletions .github/CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,45 +2,74 @@

## Our Pledge

In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.
In the interest of fostering an open and welcoming environment, we as
contributors and maintainers pledge to making participation in our project and
our community a harassment-free experience for everyone, regardless of age, body
size, disability, ethnicity, gender identity and expression, level of
experience, nationality, personal appearance, race, religion, or sexual identity
and orientation.

## Our Standards

Examples of behavior that contributes to creating a positive environment include:
Examples of behavior that contributes to creating a positive environment
include:

* Using welcoming and inclusive language
* Being respectful of differing viewpoints and experiences
* Gracefully accepting constructive criticism
* Focusing on what is best for the community
* Showing empathy towards other community members
- Using welcoming and inclusive language
- Being respectful of differing viewpoints and experiences
- Gracefully accepting constructive criticism
- Focusing on what is best for the community
- Showing empathy towards other community members

Examples of unacceptable behavior by participants include:

* The use of sexualized language or imagery and unwelcome sexual attention or advances
* Trolling, insulting/derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or electronic address, without explicit permission
* Other conduct which could reasonably be considered inappropriate in a professional setting
- The use of sexualized language or imagery and unwelcome sexual attention or
advances
- Trolling, insulting/derogatory comments, and personal or political attacks
- Public or private harassment
- Publishing others' private information, such as a physical or electronic
address, without explicit permission
- Other conduct which could reasonably be considered inappropriate in a
professional setting

## Our Responsibilities

Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior.
Project maintainers are responsible for clarifying the standards of acceptable
behavior and are expected to take appropriate and fair corrective action in
response to any instances of unacceptable behavior.

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.
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.

## Scope

This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.
This Code of Conduct applies both within project spaces and in public spaces
when an individual is representing the project or its community. Examples of
representing a project or community include using an official project e-mail
address, posting via an official social media account, or acting as an appointed
representative at an online or offline event. Representation of a project may be
further defined and clarified by project maintainers.

## Enforcement

Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at pol.dellaiera@protonmail.com. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.
Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported by contacting the project team at pol.dellaiera@protonmail.com. The
project team will review and investigate all complaints, and will respond in a
way that it deems appropriate to the circumstances. The project team is
obligated to maintain confidentiality with regard to the reporter of an
incident. Further details of specific enforcement policies may be posted
separately.

Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.
Project maintainers who do not follow or enforce the Code of Conduct in good
faith may face temporary or permanent repercussions as determined by other
members of the project's leadership.

## Attribution

This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
version 1.4, available at [http://contributor-covenant.org/version/1/4][version]

[homepage]: http://contributor-covenant.org
[version]: http://contributor-covenant.org/version/1/4/
16 changes: 10 additions & 6 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
# CONTRIBUTING

We're using [GitHub Actions](https://docs.github.com/en/actions) as a continuous integration system.

For details, see the workflows in [.github/workflows](../.github/workflows).

We're using [GitHub Actions](https://docs.github.com/en/actions) as a continuous
integration system.

For details, see the workflows in [.github/workflows](../.github/workflows).

## Tests

We're using [`grumphp/grumphp`](https://github.com/phpro/grumphp) to drive the development.
We're using [`grumphp/grumphp`](https://github.com/phpro/grumphp) to drive the
development.

Run

Expand All @@ -18,7 +20,9 @@ to run all the tests.

## Coding Standards

We are using [`drupol/php-conventions`](https://github.com/drupol/php-conventions) to enforce coding standards.
We are using
[`drupol/php-conventions`](https://github.com/drupol/php-conventions) to enforce
coding standards.

Run

Expand Down
10 changes: 5 additions & 5 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
## Steps required to reproduce the problem

1.
2.
3.
1.
2.
3.

## Expected Result

*
-

## Actual Result

*
-
18 changes: 8 additions & 10 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
This PR:

* [ ] Fix ...
* [ ] Provide ...
* [ ] It breaks backward compatibility
* [ ] Is covered by unit tests
* [ ] Has static analysis tests (psalm, phpstan)
* [ ] Has documentation
* [ ] Is an experimental thing
- [ ] Fix ...
- [ ] Provide ...
- [ ] It breaks backward compatibility
- [ ] Is covered by unit tests
- [ ] Has static analysis tests (psalm, phpstan)
- [ ] Has documentation
- [ ] Is an experimental thing

Follows #.
Related to #.
Fixes #.
Follows #. Related to #. Fixes #.
2 changes: 1 addition & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ updates:
directory: "/"
schedule:
interval: daily
open-pull-requests-limit: 10
open-pull-requests-limit: 10
110 changes: 55 additions & 55 deletions .github/settings.yml
Original file line number Diff line number Diff line change
@@ -1,71 +1,71 @@
# https://github.com/probot/settings

branches:
- name: master
protection:
enforce_admins: false
required_pull_request_reviews:
dismiss_stale_reviews: true
require_code_owner_reviews: true
required_approving_review_count: 1
required_status_checks:
strict: true
contexts:
- "Static Analysis (ubuntu-latest, 7.4)"
- "Static Analysis (ubuntu-latest, 8.1)"
- "Unit Tests (ubuntu-latest, 7.4)"
- "Unit Tests (ubuntu-latest, 8.1)"
- "Unit Tests (macOS-latest, 7.4)"
- "Unit Tests (macOS-latest, 8.1)"
- "Unit Tests (windows-latest, 7.4)"
- "Unit Tests (windows-latest, 8.1)"
- "Mutation Testing (ubuntu-latest, 8.1)"
- "Code Style (ubuntu-latest, 7.4)"
- "Code Style (ubuntu-latest, 8.1)"
- name: master
protection:
enforce_admins: false
required_pull_request_reviews:
dismiss_stale_reviews: true
require_code_owner_reviews: true
required_approving_review_count: 1
required_status_checks:
strict: true
contexts:
- "Static Analysis (ubuntu-latest, 7.4)"
- "Static Analysis (ubuntu-latest, 8.1)"
- "Unit Tests (ubuntu-latest, 7.4)"
- "Unit Tests (ubuntu-latest, 8.1)"
- "Unit Tests (macOS-latest, 7.4)"
- "Unit Tests (macOS-latest, 8.1)"
- "Unit Tests (windows-latest, 7.4)"
- "Unit Tests (windows-latest, 8.1)"
- "Mutation Testing (ubuntu-latest, 8.1)"
- "Code Style (ubuntu-latest, 7.4)"
- "Code Style (ubuntu-latest, 8.1)"

restrictions: null
required_linear_history: true
restrictions: null
required_linear_history: true

labels:
- name: backward breaking change
color: ff0000
- name: backward breaking change
color: ff0000

- name: bug
color: ee0701
- name: bug
color: ee0701

- name: dependencies
color: 0366d6
- name: dependencies
color: 0366d6

- name: enhancement
color: 0e8a16
- name: enhancement
color: 0e8a16

- name: experimentation
color: eeeeee
- name: experimentation
color: eeeeee

- name: question
color: cc317c
- name: question
color: cc317c

- name: new feature
color: 0e8a16
- name: new feature
color: 0e8a16

- name: security
color: ee0701
- name: security
color: ee0701

- name: stale
color: eeeeee
- name: stale
color: eeeeee

repository:
allow_merge_commit: true
allow_rebase_merge: true
allow_squash_merge: true
default_branch: master
description: "A (memory) friendly, easy, lazy and modular collection class."
homepage: https://loophp-collection.rtfd.io/
topics: collection,generator,iterator,yield,immutable
has_downloads: true
has_issues: true
has_pages: false
has_projects: false
has_wiki: false
name: collection
private: false
allow_merge_commit: true
allow_rebase_merge: true
allow_squash_merge: true
default_branch: master
description: "A (memory) friendly, easy, lazy and modular collection class."
homepage: https://loophp-collection.rtfd.io/
topics: collection,generator,iterator,yield,immutable
has_downloads: true
has_issues: true
has_pages: false
has_projects: false
has_wiki: false
name: collection
private: false
5 changes: 2 additions & 3 deletions .github/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,5 @@ daysUntilClose: 7
staleLabel: stale

markComment: >
This issue has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs. Thank you
for your contributions.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no
further activity occurs. Thank you for your contributions.

0 comments on commit ff03ea6

Please sign in to comment.