Skip to content

Commit b098114

Browse files
committed
Add changelog, contributing and deps configuration
1 parent ab0576c commit b098114

File tree

4 files changed

+67
-0
lines changed

4 files changed

+67
-0
lines changed

CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Changelog
2+
All notable changes to this project will be documented in this file.
3+
4+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
5+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6+
7+
## Unreleased
8+
Initial set up.
9+
10+
### Added
11+
- Initial version of code, including unit tests
12+
- README
13+
- CHANGELOG
14+
- CONTRIBUTING.md
15+
- Composer configuration

CONTRIBUTING.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Contributing
2+
3+
When contributing to this repository, please first discuss the change you wish to make via issue,
4+
email, or any other method with the owners of this repository before making a change.
5+
6+
This repository is offered as open source and is maintained by volunteers. Please treat the contributors the way you
7+
would like to be treated yourself.
8+
9+
## Pull Request Process
10+
11+
1. Ensure any install or build dependencies are removed before the end of the layer when doing a
12+
build.
13+
2. Ensure the code follows coding style and is tested. If a CI pipeline is set up ensure the Pull Request passes the CI
14+
pipeline.The coding standard we use is [PSR-12](https://www.php-fig.org/psr/psr-12/).
15+
3. Update README.md and other applicable documentation within the repository to reflect the changes in the Pull Request.
16+
4. Update the CHANGELOG.md with a new version number and details of changes to the interface, this includes new environment
17+
variables, exposed ports, useful file locations and container parameters. The versioning scheme we use is
18+
[SemVer](http://semver.org/).
19+
5. You may merge the Pull Request in once you have the sign-off of by a code owner, or if you
20+
do not have permission to do that, you may request a code owner to merge it for you.

phpcs.xml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<?xml version="1.0"?>
2+
<ruleset name="PHP_CodeSniffer">
3+
<arg name="basepath" value="."/>
4+
<arg name="colors"/>
5+
<arg value="s"/>
6+
7+
<rule ref="PSR12" />
8+
9+
<file>src/</file>
10+
<file>tests/</file>
11+
</ruleset>

phpunit.xml.dist

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<phpunit
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
5+
colors="true"
6+
failOnRisky="true"
7+
failOnWarning="true"
8+
verbose="true"
9+
>
10+
<testsuites>
11+
<testsuite name="Http Client Middleware Test Suite">
12+
<directory>./tests</directory>
13+
</testsuite>
14+
</testsuites>
15+
16+
<filter>
17+
<whitelist>
18+
<directory suffix=".php">src</directory>
19+
</whitelist>
20+
</filter>
21+
</phpunit>

0 commit comments

Comments
 (0)