Skip to content

Commit 813e4f1

Browse files
committed
chore: 🔖 release v1.1.2
1 parent 4d42fec commit 813e4f1

File tree

8 files changed

+934
-556
lines changed

8 files changed

+934
-556
lines changed

.vscode/settings.json

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"workbench.colorCustomizations": {
3+
"activityBar.activeBackground": "#ff333399",
4+
"activityBar.activeBorder": "#1a1d02",
5+
"activityBar.background": "#ff333399",
6+
"activityBar.foreground": "#e7e7e7",
7+
"activityBar.inactiveForeground": "#e7e7e799",
8+
"activityBarBadge.background": "#00df00",
9+
"activityBarBadge.foreground": "#15202b",
10+
"sash.hoverBorder": "#ff333399",
11+
"statusBar.background": "#ff000099",
12+
"statusBar.foreground": "#e7e7e7",
13+
"statusBarItem.hoverBackground": "#ff333399",
14+
"statusBarItem.remoteBackground": "#ff000099",
15+
"statusBarItem.remoteForeground": "#e7e7e7",
16+
"titleBar.activeBackground": "#ff000099",
17+
"titleBar.activeForeground": "#e7e7e7",
18+
"titleBar.inactiveBackground": "#ff000099",
19+
"titleBar.inactiveForeground": "#e7e7e799",
20+
"commandCenter.border": "#e7e7e799"
21+
},
22+
"peacock.remoteColor": "#ff000099",
23+
"intelephense.environment.phpVersion": "8.3.0",
24+
"intelephense.completion.fullyQualifyGlobalConstantsAndFunctions": true,
25+
"intelephense.phpdoc.useFullyQualifiedNames": true
26+
}

CHANGELOG.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,24 @@ All notable changes to `laravel-unit-tests` will be documented in this file.
66
- This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html),
77
- Commits respect [Conventionnal commits](https://www.conventionalcommits.org/en/v1.0.0/) & use [Gitmoji](https://gitmoji.dev/).
88

9+
## **[v1.1.2] - 13/12/2024**
10+
11+
### Changed
12+
- ci: 👷 update github issue templates & workflows
13+
- docs: 📝 update translations & links
14+
15+
Full changelog: https://github.com/alexis-gss/laravel-unit-tests/compare/v1.1.1...v1.1.2
16+
917
## **[v1.1.1] - 26/07/2024**
1018

1119
### Added
12-
1320
- docs: 📝 add packagist badges in README.md
1421

1522
Full changelog: https://github.com/alexis-gss/laravel-unit-tests/compare/v1.1.0...v1.1.1
1623

1724
## **[v1.1.0] - 07/07/2024**
1825

1926
### Added
20-
2127
- feat: ✨ add tag --only for create tests with specific actions
2228
- docs: 📝 synchronization of the Laravel Unit Tests content
2329

@@ -26,5 +32,4 @@ Full changelog: https://github.com/alexis-gss/laravel-unit-tests/compare/v1.0.0.
2632
## **[v1.0.0] - 19/06/2024**
2733

2834
### Added
29-
3035
- feat: 🎉 working package

CODE_OF_CONDUCT.md

Lines changed: 128 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,128 @@
1+
# Contributor Covenant Code of Conduct
2+
3+
## Our Pledge
4+
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, religion, or sexual identity
10+
and orientation.
11+
12+
We pledge to act and interact in ways that contribute to an open, welcoming,
13+
diverse, inclusive, and healthy community.
14+
15+
## Our Standards
16+
17+
Examples of behavior that contributes to a positive environment for our
18+
community include:
19+
20+
* Demonstrating empathy and kindness toward other people
21+
* Being respectful of differing opinions, viewpoints, and experiences
22+
* Giving and gracefully accepting constructive feedback
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
27+
28+
Examples of unacceptable behavior include:
29+
30+
* The use of sexualized language or imagery, and sexual attention or
31+
advances of any kind
32+
* Trolling, insulting or derogatory comments, and personal or political attacks
33+
* Public or private harassment
34+
* Publishing others' private information, such as a physical or email
35+
address, without their explicit permission
36+
* Other conduct which could reasonably be considered inappropriate in a
37+
professional setting
38+
39+
## Enforcement Responsibilities
40+
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.
45+
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.
50+
51+
## Scope
52+
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.
58+
59+
## Enforcement
60+
61+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
62+
reported to the community leaders responsible for enforcement at
63+
Alexis (alexis-gss).
64+
All complaints will be reviewed and investigated promptly and fairly.
65+
66+
All community leaders are obligated to respect the privacy and security of the
67+
reporter of any incident.
68+
69+
## Enforcement Guidelines
70+
71+
Community leaders will follow these Community Impact Guidelines in determining
72+
the consequences for any action they deem in violation of this Code of Conduct:
73+
74+
### 1. Correction
75+
76+
**Community Impact**: Use of inappropriate language or other behavior deemed
77+
unprofessional or unwelcome in the community.
78+
79+
**Consequence**: A private, written warning from community leaders, providing
80+
clarity around the nature of the violation and an explanation of why the
81+
behavior was inappropriate. A public apology may be requested.
82+
83+
### 2. Warning
84+
85+
**Community Impact**: A violation through a single incident or series
86+
of actions.
87+
88+
**Consequence**: A warning with consequences for continued behavior. No
89+
interaction with the people involved, including unsolicited interaction with
90+
those enforcing the Code of Conduct, for a specified period of time. This
91+
includes avoiding interactions in community spaces as well as external channels
92+
like social media. Violating these terms may lead to a temporary or
93+
permanent ban.
94+
95+
### 3. Temporary Ban
96+
97+
**Community Impact**: A serious violation of community standards, including
98+
sustained inappropriate behavior.
99+
100+
**Consequence**: A temporary ban from any sort of interaction or public
101+
communication with the community for a specified period of time. No public or
102+
private interaction with the people involved, including unsolicited interaction
103+
with those enforcing the Code of Conduct, is allowed during this period.
104+
Violating these terms may lead to a permanent ban.
105+
106+
### 4. Permanent Ban
107+
108+
**Community Impact**: Demonstrating a pattern of violation of community
109+
standards, including sustained inappropriate behavior, harassment of an
110+
individual, or aggression toward or disparagement of classes of individuals.
111+
112+
**Consequence**: A permanent ban from any sort of public interaction within
113+
the community.
114+
115+
## Attribution
116+
117+
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
118+
version 2.0, available at
119+
https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
120+
121+
Community Impact Guidelines were inspired by [Mozilla's code of conduct
122+
enforcement ladder](https://github.com/mozilla/diversity).
123+
124+
[homepage]: https://www.contributor-covenant.org
125+
126+
For answers to common questions about this code of conduct, see the FAQ at
127+
https://www.contributor-covenant.org/faq. Translations are available at
128+
https://www.contributor-covenant.org/translations.

CONTRIBUTING.md

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
# Welcome to GitHub docs contributing guide
2+
3+
Thank you for investing your time in contributing to our project !
4+
5+
Read our [code of conduct](./CODE_OF_CONDUCT.md) to keep our community approachable and respectable.
6+
7+
In this guide you will get an overview of the contribution workflow from opening an issue, creating a PR, reviewing, and merging the PR.
8+
9+
Use the table of contents icon on the top left corner of this document to get to a specific section of this guide quickly.
10+
11+
## New contributor guide
12+
13+
To get an overview of the project, read the [readme](./README.md). Here are some resources to help you get started with open source contributions:
14+
15+
- [Finding ways to contribute to open source on GitHub](https://docs.github.com/en/get-started/exploring-projects-on-github/finding-ways-to-contribute-to-open-source-on-github)
16+
- [Set up Git](https://docs.github.com/en/get-started/quickstart/set-up-git)
17+
- [GitHub flow](https://docs.github.com/en/get-started/quickstart/github-flow)
18+
- [Collaborating with pull requests](https://docs.github.com/en/github/collaborating-with-pull-requests)
19+
20+
21+
## Getting started
22+
23+
### Issues
24+
25+
#### Create a new issue
26+
27+
If you spot a problem with the docs, [search if an issue already exists](https://docs.github.com/en/github/searching-for-information-on-github/searching-on-github/searching-issues-and-pull-requests#search-by-the-title-body-or-comments).If a related issue doesn't exist, you can open a new issue using a relevant [issue form](https://github.com/alexis-gss/laravel-unit-tests/issues/new/choose).
28+
29+
#### Solve an issue
30+
31+
Scan through our [existing issues](https://github.com/alexis-gss/laravel-unit-tests/issues) to find one that interests you. You can narrow down the search using `labels` as filters. See [Labels](https://github.com/alexis-gss/laravel-unit-tests/labels) for more information. If you find an issue to work on, you are welcome to open a PR with a fix.
32+
33+
### Make Changes
34+
35+
#### Make changes locally
36+
37+
1. Fork the repository.
38+
- Using GitHub Desktop:
39+
- [Getting started with GitHub Desktop](https://docs.github.com/en/desktop/installing-and-configuring-github-desktop/getting-started-with-github-desktop) will guide you through setting up Desktop.
40+
- Once Desktop is set up, you can use it to [fork the repo](https://docs.github.com/en/desktop/contributing-and-collaborating-using-github-desktop/cloning-and-forking-repositories-from-github-desktop)!
41+
42+
- Using the command line:
43+
- [Fork the repo](https://docs.github.com/en/github/getting-started-with-github/fork-a-repo#fork-an-example-repository) so that you can make your changes without affecting the original project until you're ready to merge them.
44+
45+
2. Install or update to **Node.js**, at the version specified in `.node-version`.
46+
47+
3. Create a working branch and start with your changes!
48+
49+
4. Commit the changes once you are happy with them.
50+
51+
### Pull Request
52+
53+
When you're finished with the changes, create a pull request, also known as a PR.
54+
- Don't forget to [link PR to issue](https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue) if you are solving one.
55+
- Enable the checkbox to [allow maintainer edits](https://docs.github.com/en/github/collaborating-with-issues-and-pull-requests/allowing-changes-to-a-pull-request-branch-created-from-a-fork) so the branch can be updated for a merge.
56+
Once you submit your PR, a Docs team member will review your proposal. We may ask questions or request additional information.
57+
- We may ask for changes to be made before a PR can be merged, either using [suggested changes](https://docs.github.com/en/github/collaborating-with-issues-and-pull-requests/incorporating-feedback-in-your-pull-request) or pull request comments. You can apply suggested changes directly through the UI. You can make any other changes in your fork, then commit them to your branch.
58+
- As you update your PR and apply changes, mark each conversation as [resolved](https://docs.github.com/en/github/collaborating-with-issues-and-pull-requests/commenting-on-a-pull-request#resolving-conversations).
59+
- If you run into any merge issues, checkout this [git tutorial](https://github.com/skills/resolve-merge-conflicts) to help you resolve merge conflicts and other issues.

README.md

Lines changed: 33 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,23 +5,37 @@
55
[![GitHub latest commit](https://img.shields.io/github/last-commit/alexis-gss/laravel-unit-tests?color=ff2908&style=for-the-badge)](https://github.com/alexis-gss/laravel-unit-tests/commit/master)
66
[![Packagist Version](https://img.shields.io/packagist/v/alexis-gss/laravel-unit-tests?color=ff2908&style=for-the-badge)](https://packagist.org/packages/alexis-gss/laravel-unit-tests)
77
[![Packagist Downloads](https://img.shields.io/packagist/dt/alexis-gss/laravel-unit-tests?color=ff2908&style=for-the-badge)](https://packagist.org/packages/alexis-gss/laravel-unit-tests)
8-
[![GitHub License](https://img.shields.io/github/license/alexis-gss/laravel-unit-tests?color=ff2908&style=for-the-badge)](https://packagist.org/packages/alexis-gss/laravel-unit-tests)
8+
[![GitHub License](https://img.shields.io/github/license/alexis-gss/laravel-unit-tests?color=ff2908&style=for-the-badge)](https://github.com/alexis-gss/laravel-unit-tests/blob/master/LICENSE)
99

1010
</div>
1111

1212
# Introduction
1313
[Laravel Unit Tests](https://packagist.org/packages/alexis-gss/laravel-unit-tests) is, as its name suggests, a package to test specified actions in a Laravel project like authentification, CRUDs, views and more.
1414

1515
# Table of contents
16-
1716
- [Introduction](#introduction)
1817
- [Table of contents](#table-of-contents)
18+
- [Compatibility](#compatibility)
1919
- [Frameworks, Platforms and Libraries](#frameworks-platforms-and-libraries)
2020
- [Documentation](#documentation)
21+
- [Contributing](#contributing)
22+
- [Create a task](#create-a-task)
23+
- [Fixing a Bug](#fixing-a-bug)
24+
- [Proposing a Change](#proposing-a-change)
2125
- [Changelog](#changelog)
2226
- [Copyright and License](#copyright-and-license)
2327

28+
# Compatibility
29+
30+
| Versions | Laravel 8^ | Laravel 9^ | Laravel 10^ | Laravel 11^ |
31+
| :---------: | :---------: | :---------: | :---------: | :---------: |
32+
| v1.1.2 |||||
33+
| v1.1.1 |||||
34+
| v1.1.0 |||||
35+
| v1.0.0 |||||
36+
2437
# Frameworks, Platforms and Libraries
38+
2539
[![PHP](https://img.shields.io/badge/php-%23777BB4.svg?style=for-the-badge&logo=php&logoColor=white)](https://www.php.net/)
2640
[![Laravel](https://img.shields.io/badge/laravel-%23FF2D20.svg?style=for-the-badge&logo=laravel&logoColor=white)](https://laravel.com/docs/master)
2741
[![Gitbook](https://img.shields.io/badge/GitBook-7B36ED?style=for-the-badge&logo=gitbook&logoColor=white)](https://www.gitbook.com/)
@@ -30,9 +44,25 @@
3044

3145
You can find all the documentation of this package on this link : [Laravel Unit Tests documentation](https://docs-laravel-unit-tests.alexis-gousseau.com).
3246

47+
# Contributing
48+
49+
### Create a task
50+
51+
You can create a [new issue](https://github.com/alexis-gss/laravel-unit-tests/issues/new/choose) with a specific templates : bug or feature.
52+
53+
Once your code is working, please run the following commands `./vendor/bin/phpstan`, `./vendor/bin/phpcs` to verify that your code is following the same coding standards (in all cases, there is github actions that check this part).
54+
55+
### Fixing a Bug
56+
57+
When fixing a bug please make sure to test it in several browsers. If you are not able to do so, mention that in a PR comment, so other contributors can do it.
58+
59+
### Proposing a Change
60+
61+
When implementing a feature please create an issue first explaining your idea and asking whether there's need for such a feature. Remember the script's core philosophy is to stay simple and minimal, doing one thing and doing it right.
62+
3363
# Changelog
3464

35-
Latest version v1.1.0.
65+
Latest version v1.1.2.
3666

3767
See the [CHANGELOG.md](CHANGELOG.md) file for details.
3868

SECURITY.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Security
2+
3+
## Reporting Potential Security Issues
4+
5+
If you have encountered a potential security vulnerability in this project,
6+
please report it to us as a [new issue](https://github.com/alexis-gss/laravel-unit-tests/issues/new/choose). We will work with you to
7+
verify the vulnerability and patch it.
8+
9+
## Policy
10+
11+
If we verify a reported security vulnerability, our policy is:
12+
13+
- We will patch the current release branch, as well as the immediate prior minor
14+
release branch.
15+
16+
- After patching the release branches, we will immediately issue new security
17+
fix releases for each patched release branch.
18+
19+
- A security advisory will be released on the project website detailing the
20+
vulnerability, as well as recommendations for end-users to protect themselves.

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"description": "Test CRUDs assertions in Laravel project.",
44
"type": "library",
55
"license": "MIT",
6-
"version": "1.1.1",
6+
"version": "1.1.2",
77
"authors": [
88
{
99
"name": "Alexis Gousseau",

0 commit comments

Comments
 (0)