Skip to content

Commit 518f195

Browse files
committed
chore: Prettify codebase.
1 parent a0e10f6 commit 518f195

12 files changed

+143
-99
lines changed

.editorconfig

+12-1
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,21 @@
66

77
root = true
88

9-
[*]
9+
[*.{php,inc,module}]
1010
charset = utf-8
1111
end_of_line = lf
1212
insert_final_newline = true
1313
trim_trailing_whitespace = true
1414
indent_style = space
1515
indent_size = 4
16+
max_line_length = 120
17+
18+
[*.{json,json.dist,yml,yaml,yml.dist,yaml.dist}]
19+
indent_style = space
20+
indent_size = 4
21+
max_line_length = 120
22+
23+
[*.{md}]
24+
indent_style = space
25+
indent_size = 2
26+
max_line_length = 80

.gitattributes

+3
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,14 @@
22
/docker export-ignore
33
/docs export-ignore
44
/spec export-ignore
5+
/tests export-ignore
56
/.auto-changelog export-ignore
67
/.editorconfig export-ignore
78
/.envrc export-ignore
89
/.gitattributes export-ignore
910
/.gitignore export-ignore
11+
/.prettierignore export-ignore
12+
/.prettierrc export-ignore
1013
/.scrutinizer.yml export-ignore
1114
/CHANGELOG.md export-ignore
1215
/docker-compose.yaml export-ignore

.github/CODE_OF_CONDUCT.md

+46-18
Original file line numberDiff line numberDiff line change
@@ -2,45 +2,73 @@
22

33
## Our Pledge
44

5-
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.
5+
In the interest of fostering an open and welcoming environment, we as
6+
contributors and maintainers pledge to making participation in our project and
7+
our community a harassment-free experience for everyone, regardless of age, body
8+
size, disability, ethnicity, gender identity and expression, level of
9+
experience, nationality, personal appearance, race, religion, or sexual identity
10+
and orientation.
611

712
## Our Standards
813

9-
Examples of behavior that contributes to creating a positive environment include:
14+
Examples of behavior that contributes to creating a positive environment
15+
include:
1016

11-
* Using welcoming and inclusive language
12-
* Being respectful of differing viewpoints and experiences
13-
* Gracefully accepting constructive criticism
14-
* Focusing on what is best for the community
15-
* Showing empathy towards other community members
17+
- Using welcoming and inclusive language
18+
- Being respectful of differing viewpoints and experiences
19+
- Gracefully accepting constructive criticism
20+
- Focusing on what is best for the community
21+
- Showing empathy towards other community members
1622

1723
Examples of unacceptable behavior by participants include:
1824

19-
* The use of sexualized language or imagery and unwelcome sexual attention or advances
20-
* Trolling, insulting/derogatory comments, and personal or political attacks
21-
* Public or private harassment
22-
* Publishing others' private information, such as a physical or electronic address, without explicit permission
23-
* Other conduct which could reasonably be considered inappropriate in a professional setting
25+
- The use of sexualized language or imagery and unwelcome sexual attention or
26+
advances
27+
- Trolling, insulting/derogatory comments, and personal or political attacks
28+
- Public or private harassment
29+
- Publishing others' private information, such as a physical or electronic
30+
address, without explicit permission
31+
- Other conduct which could reasonably be considered inappropriate in a
32+
professional setting
2433

2534
## Our Responsibilities
2635

27-
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.
36+
Project maintainers are responsible for clarifying the standards of acceptable
37+
behavior and are expected to take appropriate and fair corrective action in
38+
response to any instances of unacceptable behavior.
2839

29-
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.
40+
Project maintainers have the right and responsibility to remove, edit, or reject
41+
comments, commits, code, wiki edits, issues, and other contributions that are
42+
not aligned to this Code of Conduct, or to ban temporarily or permanently any
43+
contributor for other behaviors that they deem inappropriate, threatening,
44+
offensive, or harmful.
3045

3146
## Scope
3247

33-
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.
48+
This Code of Conduct applies both within project spaces and in public spaces
49+
when an individual is representing the project or its community. Examples of
50+
representing a project or community include using an official project e-mail
51+
address, posting via an official social media account, or acting as an appointed
52+
representative at an online or offline event. Representation of a project may be
53+
further defined and clarified by project maintainers.
3454

3555
## Enforcement
3656

37-
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at am@localheinz.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.
57+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
58+
reported by contacting the project team at am@localheinz.com. The project team
59+
will review and investigate all complaints, and will respond in a way that it
60+
deems appropriate to the circumstances. The project team is obligated to
61+
maintain confidentiality with regard to the reporter of an incident. Further
62+
details of specific enforcement policies may be posted separately.
3863

39-
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.
64+
Project maintainers who do not follow or enforce the Code of Conduct in good
65+
faith may face temporary or permanent repercussions as determined by other
66+
members of the project's leadership.
4067

4168
## Attribution
4269

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

4573
[homepage]: http://contributor-covenant.org
4674
[version]: http://contributor-covenant.org/version/1/4/

.github/CONTRIBUTING.md

+10-6
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
# CONTRIBUTING
22

3-
We're using [Travis CI](https://travis-ci.com) as a continuous integration system.
4-
5-
For details, see [`.travis.yml`](../.travis.yml).
6-
3+
We're using [Travis CI](https://travis-ci.com) as a continuous integration
4+
system.
5+
6+
For details, see [`.travis.yml`](../.travis.yml).
7+
78
## Tests
89

9-
We're using [`grumphp/grumphp`](https://github.com/phpro/grumphp) to drive the development.
10+
We're using [`grumphp/grumphp`](https://github.com/phpro/grumphp) to drive the
11+
development.
1012

1113
Run
1214

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

1921
## Coding Standards
2022

21-
We are using [`drupol/php-conventions`](https://github.com/drupol/php-conventions) to enforce coding standards.
23+
We are using
24+
[`drupol/php-conventions`](https://github.com/drupol/php-conventions) to enforce
25+
coding standards.
2226

2327
Run
2428

.github/ISSUE_TEMPLATE.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
## Steps required to reproduce the problem
22

3-
1.
4-
2.
5-
3.
3+
1.
4+
2.
5+
3.
66

77
## Expected Result
88

9-
*
9+
-
1010

1111
## Actual Result
1212

13-
*
13+
-

.github/PULL_REQUEST_TEMPLATE.md

+4-6
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
This PR
22

3-
* [x]
4-
* [ ]
5-
* [ ]
3+
- [x]
4+
- [ ]
5+
- [ ]
66

7-
Follows #.
8-
Related to #.
9-
Fixes #.
7+
Follows #. Related to #. Fixes #.

.github/dependabot.yml

+10-10
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
version: 2
22
updates:
3-
- package-ecosystem: composer
4-
directory: "/"
5-
schedule:
6-
interval: daily
7-
open-pull-requests-limit: 10
8-
- package-ecosystem: github-actions
9-
directory: "/"
10-
schedule:
11-
interval: daily
12-
open-pull-requests-limit: 10
3+
- package-ecosystem: composer
4+
directory: "/"
5+
schedule:
6+
interval: daily
7+
open-pull-requests-limit: 10
8+
- package-ecosystem: github-actions
9+
directory: "/"
10+
schedule:
11+
interval: daily
12+
open-pull-requests-limit: 10

.github/settings.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,4 @@ repository:
3737

3838
teams:
3939
- name: core
40-
permission: push
40+
permission: push

.github/stale.yml

+2-3
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,5 @@ daysUntilClose: 7
55
staleLabel: stale
66

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

.github/workflows/release.yaml

+35-35
Original file line numberDiff line numberDiff line change
@@ -3,40 +3,40 @@
33
name: "Release"
44

55
on: # yamllint disable-line rule:truthy
6-
push:
7-
tags:
8-
- "**"
6+
push:
7+
tags:
8+
- "**"
99

1010
jobs:
11-
release:
12-
name: "Tag"
13-
14-
runs-on: "ubuntu-latest"
15-
16-
steps:
17-
- name: Checkout
18-
uses: actions/checkout@v3
19-
20-
- name: Determine tag
21-
id: tag_name
22-
run: |
23-
echo ::set-output name=current_version::${GITHUB_REF#refs/tags/}
24-
shell: bash
25-
26-
- name: Get Changelog Entry
27-
id: changelog_reader
28-
uses: mindsers/changelog-reader-action@v2
29-
with:
30-
version: ${{ steps.tag_name.outputs.current_version }}
31-
path: ./CHANGELOG.md
32-
33-
- name: "Create release"
34-
uses: "actions/create-release@v1.1.4"
35-
env:
36-
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
37-
with:
38-
release_name: "${{ steps.tag_name.outputs.current_version }}"
39-
tag_name: "${{ steps.tag_name.outputs.current_version }}"
40-
body: ${{ steps.changelog_reader.outputs.changes }}
41-
prerelease: ${{ steps.changelog_reader.outputs.status == 'prereleased' }}
42-
draft: ${{ steps.changelog_reader.outputs.status == 'unreleased' }}
11+
release:
12+
name: "Tag"
13+
14+
runs-on: "ubuntu-latest"
15+
16+
steps:
17+
- name: Checkout
18+
uses: actions/checkout@v3
19+
20+
- name: Determine tag
21+
id: tag_name
22+
run: |
23+
echo ::set-output name=current_version::${GITHUB_REF#refs/tags/}
24+
shell: bash
25+
26+
- name: Get Changelog Entry
27+
id: changelog_reader
28+
uses: mindsers/changelog-reader-action@v2
29+
with:
30+
version: ${{ steps.tag_name.outputs.current_version }}
31+
path: ./CHANGELOG.md
32+
33+
- name: "Create release"
34+
uses: "actions/create-release@v1.1.4"
35+
env:
36+
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
37+
with:
38+
release_name: "${{ steps.tag_name.outputs.current_version }}"
39+
tag_name: "${{ steps.tag_name.outputs.current_version }}"
40+
body: ${{ steps.changelog_reader.outputs.changes }}
41+
prerelease: ${{ steps.changelog_reader.outputs.status == 'prereleased' }}
42+
draft: ${{ steps.changelog_reader.outputs.status == 'unreleased' }}

.gitignore

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/.direnv/
22
/.idea/
3+
/vendor
4+
composer.lock
5+
grumphp.yml
6+
phpspec.yml
37
/build/
4-
/vendor/
5-
/.php_cs.cache
6-
/composer.lock
7-
/phpspec.yml
8-
8+
.php_cs.cache

README.md

+10-9
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
11
[![Latest Stable Version](https://img.shields.io/packagist/v/ecphp/eu-login-bundle.svg?style=flat-square)](https://packagist.org/packages/ecphp/eu-login-bundle)
2-
[![GitHub stars](https://img.shields.io/github/stars/ecphp/eu-login-bundle.svg?style=flat-square)](https://packagist.org/packages/ecphp/eu-login-bundle)
3-
[![Total Downloads](https://img.shields.io/packagist/dt/ecphp/eu-login-bundle.svg?style=flat-square)](https://packagist.org/packages/ecphp/eu-login-bundle)
4-
[![GitHub Workflow Status](https://img.shields.io/github/workflow/status/ecphp/eu-login-bundle/Continuous%20Integration/master?style=flat-square)](https://github.com/ecphp/eu-login-bundle/actions)
5-
[![Scrutinizer code quality](https://img.shields.io/scrutinizer/quality/g/ecphp/eu-login-bundle/master.svg?style=flat-square)](https://scrutinizer-ci.com/g/ecphp/eu-login-bundle/?branch=master)
6-
[![Type Coverage](https://shepherd.dev/github/ecphp/eu-login-bundle/coverage.svg)](https://shepherd.dev/github/ecphp/eu-login-bundle)
7-
[![Code Coverage](https://img.shields.io/scrutinizer/coverage/g/ecphp/eu-login-bundle/master.svg?style=flat-square)](https://scrutinizer-ci.com/g/ecphp/eu-login-bundle/?branch=master)
8-
[![Read the Docs](https://img.shields.io/readthedocs/ecphp-eu-login-bundle?style=flat-square)](https://ecphp-eu-login-bundle.readthedocs.io/)
9-
[![License](https://img.shields.io/packagist/l/ecphp/eu-login-bundle.svg?style=flat-square)](https://packagist.org/packages/ecphp/eu-login-bundle)
2+
[![GitHub stars](https://img.shields.io/github/stars/ecphp/eu-login-bundle.svg?style=flat-square)](https://packagist.org/packages/ecphp/eu-login-bundle)
3+
[![Total Downloads](https://img.shields.io/packagist/dt/ecphp/eu-login-bundle.svg?style=flat-square)](https://packagist.org/packages/ecphp/eu-login-bundle)
4+
[![GitHub Workflow Status](https://img.shields.io/github/workflow/status/ecphp/eu-login-bundle/Continuous%20Integration/master?style=flat-square)](https://github.com/ecphp/eu-login-bundle/actions)
5+
[![Scrutinizer code quality](https://img.shields.io/scrutinizer/quality/g/ecphp/eu-login-bundle/master.svg?style=flat-square)](https://scrutinizer-ci.com/g/ecphp/eu-login-bundle/?branch=master)
6+
[![Type Coverage](https://shepherd.dev/github/ecphp/eu-login-bundle/coverage.svg)](https://shepherd.dev/github/ecphp/eu-login-bundle)
7+
[![Code Coverage](https://img.shields.io/scrutinizer/coverage/g/ecphp/eu-login-bundle/master.svg?style=flat-square)](https://scrutinizer-ci.com/g/ecphp/eu-login-bundle/?branch=master)
8+
[![Read the Docs](https://img.shields.io/readthedocs/ecphp-eu-login-bundle?style=flat-square)](https://ecphp-eu-login-bundle.readthedocs.io/)
9+
[![License](https://img.shields.io/packagist/l/ecphp/eu-login-bundle.svg?style=flat-square)](https://packagist.org/packages/ecphp/eu-login-bundle)
1010

1111
# EU Login bundle
1212

1313
EU Login bundle for Symfony 5 & 6.
1414

15-
Read more on the dedicated documentation site: https://ecphp-eu-login-bundle.readthedocs.io/
15+
Read more on the dedicated documentation site:
16+
https://ecphp-eu-login-bundle.readthedocs.io/

0 commit comments

Comments
 (0)