Skip to content
This repository was archived by the owner on Mar 1, 2023. It is now read-only.

Commit 0f518bc

Browse files
authored
Merge pull request #311 from PrisisForks/feature/sync-with-template
2 parents e978eee + b1dfb51 commit 0f518bc

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+1544
-1209
lines changed

.docker/php/Dockerfile

+7-5
Original file line numberDiff line numberDiff line change
@@ -64,18 +64,20 @@ ARG INSTALL_XDEBUG
6464
ARG XDEBUG_VERSION
6565

6666
RUN if [ ${INSTALL_XDEBUG} = true ]; then pecl install "xdebug-${XDEBUG_VERSION}" ;fi
67+
RUN if [ ${INSTALL_XDEBUG} = true ]; then docker-php-ext-enable xdebug ;fi
6768

6869
RUN { \
6970
echo 'xdebug.idekey=PHPSTORM'; \
70-
echo 'xdebug.remote_port=9000'; \
71-
echo 'xdebug.remote_enable=on'; \
72-
echo 'xdebug.remote_connect_back=on'; \
71+
echo 'xdebug.remote_port=9003'; \
72+
echo 'xdebug.discover_client_host=true'; \
73+
echo 'xdebug.client_host=host.docker.internal'; \
74+
echo 'xdebug.start_with_request=yes'; \
7375
echo 'xdebug.profiler_output_dir="/var/log/xdebug"'; \
7476
echo 'xdebug.cli_color=1'; \
77+
echo 'xdebug.mode=profile,develop,coverage'; \
78+
echo 'xdebug.max_nesting_level=1000'; \
7579
} > /usr/local/etc/php/conf.d/php-ext-xdebug.ini
7680

77-
RUN if [ ${INSTALL_XDEBUG} = true ]; then docker-php-ext-enable xdebug ;fi
78-
7981
RUN mkdir /var/log/php && touch /var/log/php/cli-error.log && chmod 0664 /var/log/php/cli-error.log
8082

8183
WORKDIR /var/www/package

.editorconfig

+3-1
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,7 @@ indent_size = 4
99
trim_trailing_whitespace = true
1010

1111
[*.yml]
12-
indent_style = space
12+
indent_size = 4
13+
14+
[package.json]
1315
indent_size = 2

.gitattributes

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ tests/ export-ignore
1515
.nvmrc export-ignore
1616
.php_cs export-ignore
1717
.textlintrc export-ignore
18-
.travis.yml export-ignore
18+
.typo-ci.yml export-ignore
1919
docker-compose.yml export-ignore
2020
infection.json export-ignore
2121
package.json export-ignore

.github/CODEOWNERS

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
* @prisis
1+
* @renovate @prisis

.github/CODE_OF_CONDUCT.md

+72-25
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,28 @@
22

33
## Our Pledge
44

5-
We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation.
5+
We as members, contributors, and leaders pledge to make participation in our
6+
community a harassment-free experience for everyone, regardless of age, body
7+
size, visible or invisible disability, ethnicity, sex characteristics, gender
8+
identity and expression, level of experience, education, socio-economic status,
9+
nationality, personal appearance, race, caste, color, religion, or sexual identity
10+
and orientation.
611

7-
We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community.
12+
We pledge to act and interact in ways that contribute to an open, welcoming,
13+
diverse, inclusive, and healthy community.
814

915
## Our Standards
1016

11-
Examples of behavior that contributes to a positive environment for our community include:
17+
Examples of behavior that contributes to a positive environment for our
18+
community include:
1219

1320
* Demonstrating empathy and kindness toward other people
1421
* Being respectful of differing opinions, viewpoints, and experiences
1522
* Giving and gracefully accepting constructive feedback
16-
* Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience
17-
* Focusing on what is best not just for us as individuals, but for the overall community
23+
* Accepting responsibility and apologizing to those affected by our mistakes,
24+
and learning from the experience
25+
* Focusing on what is best not just for us as individuals, but for the
26+
overall community
1827

1928
Examples of unacceptable behavior include:
2029

@@ -29,56 +38,94 @@ Examples of unacceptable behavior include:
2938

3039
## Enforcement Responsibilities
3140

32-
Community leaders are responsible for clarifying and enforcing our standards of acceptable behavior and will take appropriate and fair corrective action in response to any behavior that they deem inappropriate, threatening, offensive, or harmful.
41+
Community leaders are responsible for clarifying and enforcing our standards of
42+
acceptable behavior and will take appropriate and fair corrective action in
43+
response to any behavior that they deem inappropriate, threatening, offensive,
44+
or harmful.
3345

34-
Community leaders 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, and will communicate reasons for moderation decisions when appropriate.
46+
Community leaders have the right and responsibility to remove, edit, or reject
47+
comments, commits, code, wiki edits, issues, and other contributions that are
48+
not aligned to this Code of Conduct, and will communicate reasons for moderation
49+
decisions when appropriate.
3550

3651
## Scope
3752

38-
This Code of Conduct applies within all community spaces, and also applies when an individual is officially representing the community in public spaces. Examples of representing our community include using an official e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event.
53+
This Code of Conduct applies within all community spaces, and also applies when
54+
an individual is officially representing the community in public spaces.
55+
Examples of representing our community include using an official e-mail address,
56+
posting via an official social media account, or acting as an appointed
57+
representative at an online or offline event.
3958

4059
## Enforcement
4160

42-
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community leaders responsible for enforcement at [[email protected]](mailto:[email protected]). All complaints will be reviewed and investigated promptly and fairly.
61+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
62+
reported to the community leaders responsible for enforcement at [email protected].
63+
All complaints will be reviewed and investigated promptly and fairly.
4364

44-
All community leaders are obligated to respect the privacy and security of the reporter of any incident.
65+
All community leaders are obligated to respect the privacy and security of the
66+
reporter of any incident.
4567

4668
## Enforcement Guidelines
4769

48-
Community leaders will follow these Community Impact Guidelines in determining the consequences for any action they deem in violation of this Code of Conduct:
70+
Community leaders will follow these Community Impact Guidelines in determining
71+
the consequences for any action they deem in violation of this Code of Conduct:
4972

5073
### 1. Correction
5174

52-
**Community Impact**: Use of inappropriate language or other behavior deemed unprofessional or unwelcome in the community.
75+
**Community Impact**: Use of inappropriate language or other behavior deemed
76+
unprofessional or unwelcome in the community.
5377

54-
**Consequence**: A private, written warning from community leaders, providing clarity around the nature of the violation and an explanation of why the behavior was inappropriate. A public apology may be requested.
78+
**Consequence**: A private, written warning from community leaders, providing
79+
clarity around the nature of the violation and an explanation of why the
80+
behavior was inappropriate. A public apology may be requested.
5581

5682
### 2. Warning
5783

58-
**Community Impact**: A violation through a single incident or series of actions.
84+
**Community Impact**: A violation through a single incident or series
85+
of actions.
5986

60-
**Consequence**: A warning with consequences for continued behavior. No interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, for a specified period of time. This includes avoiding interactions in community spaces as well as external channels like social media. Violating these terms may lead to a temporary or permanent ban.
87+
**Consequence**: A warning with consequences for continued behavior. No
88+
interaction with the people involved, including unsolicited interaction with
89+
those enforcing the Code of Conduct, for a specified period of time. This
90+
includes avoiding interactions in community spaces as well as external channels
91+
like social media. Violating these terms may lead to a temporary or
92+
permanent ban.
6193

6294
### 3. Temporary Ban
6395

64-
**Community Impact**: A serious violation of community standards, including sustained inappropriate behavior.
96+
**Community Impact**: A serious violation of community standards, including
97+
sustained inappropriate behavior.
6598

66-
**Consequence**: A temporary ban from any sort of interaction or public communication with the community for a specified period of time. No public or private interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, is allowed during this period. Violating these terms may lead to a permanent ban.
99+
**Consequence**: A temporary ban from any sort of interaction or public
100+
communication with the community for a specified period of time. No public or
101+
private interaction with the people involved, including unsolicited interaction
102+
with those enforcing the Code of Conduct, is allowed during this period.
103+
Violating these terms may lead to a permanent ban.
67104

68105
### 4. Permanent Ban
69106

70-
**Community Impact**: Demonstrating a pattern of violation of community standards, including sustained inappropriate behavior, harassment of an individual, or aggression toward or disparagement of classes of individuals.
107+
**Community Impact**: Demonstrating a pattern of violation of community
108+
standards, including sustained inappropriate behavior, harassment of an
109+
individual, or aggression toward or disparagement of classes of individuals.
71110

72-
**Consequence**: A permanent ban from any sort of public interaction within the community.
111+
**Consequence**: A permanent ban from any sort of public interaction within
112+
the community.
73113

74114
## Attribution
75115

76-
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 2.0,
77-
available at https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
116+
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
117+
version 2.0, available at
118+
[https://www.contributor-covenant.org/version/2/0/code_of_conduct.html][v2.0].
78119

79-
Community Impact Guidelines were inspired by [Mozilla's code of conduct enforcement ladder](https://github.com/mozilla/diversity).
80-
81-
[homepage]: https://www.contributor-covenant.org
120+
Community Impact Guidelines were inspired by
121+
[Mozilla's code of conduct enforcement ladder][Mozilla CoC].
82122

83123
For answers to common questions about this code of conduct, see the FAQ at
84-
https://www.contributor-covenant.org/faq. Translations are available at https://www.contributor-covenant.org/translations.
124+
[https://www.contributor-covenant.org/faq][FAQ]. Translations are available
125+
at [https://www.contributor-covenant.org/translations][translations].
126+
127+
[homepage]: https://www.contributor-covenant.org
128+
[v2.0]: https://www.contributor-covenant.org/version/2/0/code_of_conduct.html
129+
[Mozilla CoC]: https://github.com/mozilla/diversity
130+
[FAQ]: https://www.contributor-covenant.org/faq
131+
[translations]: https://www.contributor-covenant.org/translations

.github/CONTRIBUTING.md

+14-10
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,28 @@
11
# Contributing
2-
Narrowspark and Narrowspark package are open source, community-driven projects.
2+
3+
Narrowspark and Narrowspark packages are open source, community-driven projects.
34

45
If you'd like to contribute, please read the following documents:
56

67
* [Reviewing issues/pull requests][0]
78
* [Reporting a Bug][1]
89
* [Submitting a Patch][2]
10+
* [Usage of Docker and Docker Compose][9]
911
* [Narrowspark Core Team][3]
1012
* [Security Issues][4]
1113
* [Running Narrowspark Tests][5]
1214
* [Our Backwards Compatibility Promise][6]
1315
* [Coding Standards][7]
1416
* [Conventions][8]
1517

16-
[0]: https://narrowspark.com/docs/current/contributing/community/reviews.html
17-
[1]: https://narrowspark.com/docs/current/contributing/code/bugs.html
18-
[2]: https://narrowspark.com/docs/current/contributing/code/patches.html
19-
[3]: https://narrowspark.com/docs/current/contributing/code/core_team.html
20-
[4]: https://narrowspark.com/docs/current/contributing/code/security.html
21-
[5]: https://narrowspark.com/docs/current/contributing/code/tests.html
22-
[6]: https://narrowspark.com/docs/current/contributing/code/bc.html
23-
[7]: https://narrowspark.com/docs/current/contributing/code/standards.html
24-
[8]: https://narrowspark.com/docs/current/contributing/code/conventions.html
18+
19+
[0]: https://narrowspark.com/docs/current/contributing/community/reviews
20+
[1]: https://narrowspark.com/docs/current/contributing/code/bugs
21+
[2]: https://narrowspark.com/docs/current/contributing/code/patches
22+
[3]: https://narrowspark.com/docs/current/contributing/code/core_team
23+
[4]: https://narrowspark.com/docs/current/contributing/code/security
24+
[5]: https://narrowspark.com/docs/current/contributing/code/tests
25+
[6]: https://narrowspark.com/docs/current/contributing/code/bc
26+
[7]: https://narrowspark.com/docs/current/contributing/code/standards
27+
[8]: https://narrowspark.com/docs/current/contributing/code/conventions
28+
[9]: https://narrowspark.com/docs/current/contributing/docker

.github/FUNDING.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
github: prisis
1+
github: "prisis"
2+
open_collective: "_prisis_"

.github/ISSUE_TEMPLATE/Bug_report.md

+6-5
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,19 @@
11
---
2-
name: 🐛 Bug Report
3-
about: If something isn't working as expected.
4-
labels: Type: Bug
2+
name: "\U0001F41B Bug Report"
3+
about: "If something isn't working as expected \U0001F914."
4+
labels: 'Type: Bug'
5+
assignees: ''
56

67
---
78

89
<!--
910
The Code of Conduct (../CODE_OF_CONDUCT.md) applies to all the activity on this repository.
1011
-->
1112

12-
**Narrowspark version(s) affected**: x.y.z
13+
**Version(s) affected**: x.y.z
1314

1415
**Description**
15-
<!-- A clear and concise description of the problem. -->
16+
<!-- A clear and concise description of the problem / behavior. -->
1617

1718
**How to reproduce**
1819
<!--- Code and/or config needed to reproduce the problem. -->
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
---
22
name: 📚 Documentation Issue
3-
about: Anything related to Narrowspark package documentation
4-
3+
about: Anything related to package documentation
4+
55
---
6-
6+
77
<!--
88
The Code of Conduct (../CODE_OF_CONDUCT.md) applies to all the activity on this repository.
99
-->

.github/ISSUE_TEMPLATE/Feature_request.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
---
2-
name: 🚀 Feature Request
3-
about: I have a suggestion (and might want to implement myself 🙂)!
4-
2+
name: "\U0001F680 Feature Request"
3+
about: "I have a suggestion (and may want to implement it \U0001F642)!"
4+
labels: 'Enhancement'
5+
assignees: ''
56
---
67

78
<!--

.github/ISSUE_TEMPLATE/Support_question.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
2-
name: 🤗 Support Question
3-
about: If you have a question 💬, please check out our [Discord](https://discord.gg/UBG6r9b) or [StackOverflow](https://stackoverflow.com/)!
4-
labels: Status: Help wanted
5-
2+
name: '\U0001F917 Support Question'
3+
about: 'If you have a question \U0001F4AC, please check out our [Discord](https://discord.gg/UBG6r9b) or [StackOverflow](https://stackoverflow.com/)!'
4+
labels: 'Status: Help wanted'
5+
assignees: ''
66
---
77

88
<!--

0 commit comments

Comments
 (0)