Skip to content

Commit c92cd56

Browse files
docs: Correct trailing spaces in markdown files and add .editorconfig instruction file (#873)
## Description This PR combines #869, #868, #867 and #866 ## Related Issue Replaces #869, #868, #867 and #866 ## Type of Change <!-- Mark the appropriate option with an "x" --> - [ ] Bug fix (non-breaking change which fixes an issue) - [ ] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected) - [X] Documentation update - [ ] Code refactoring - [ ] Other (please describe): ## Checklist <!-- Mark completed items with an "x" --> - [X] I have read the [CONTRIBUTING](CONTRIBUTING.md) guidelines - [X] My code follows the code style of this project - [X] I have added tests that prove my fix is effective or that my feature works - [X] All new and existing tests pass - [X] I have updated the documentation accordingly - [X] My changes generate no new warnings ## Additional Notes This PR is credited to @reedy who discovered the trailing spaces
1 parent 241016c commit c92cd56

File tree

4 files changed

+10
-9
lines changed

4 files changed

+10
-9
lines changed

CHANGELOG.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
88
## [Unreleased]
99
### Fixed
1010
- UriRetriever: Include actual media type in InvalidSchemaMediaTypeException message ([#872](https://github.com/jsonrainbow/json-schema/pull/872))
11+
- docs: Correct trailing spaces in Markdown ([#873](https://github.com/jsonrainbow/json-schema/pull/873))
1112

1213
## [6.6.4] - 2025-12-19
1314
### Changed
@@ -56,7 +57,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
5657
## [6.4.2] - 2025-06-03
5758
### Fixed
5859
- Fix objects are non-unique despite key order ([#819](https://github.com/jsonrainbow/json-schema/pull/819))
59-
- Id's not being resolved and id property affects sibling ref which it should not do ([#828](https://github.com/jsonrainbow/json-schema/pull/828))
60+
- Id's not being resolved and id property affects sibling ref which it should not do ([#828](https://github.com/jsonrainbow/json-schema/pull/828))
6061

6162
### Changed
6263
- Added extra breaking change to UPDATE-6.0.md regarding BaseConstraint::addError signature change ([#823](https://github.com/jsonrainbow/json-schema/pull/823))
@@ -94,7 +95,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
9495

9596
## Changed
9697
- replace icecave/parity with custom deep comparator ([#803](https://github.com/jsonrainbow/json-schema/pull/803))
97-
98+
9899
## [6.2.1] - 2025-03-06
99100
### Fixed
100101
- allow items: true to pass validation ([#801](https://github.com/jsonrainbow/json-schema/pull/801))
@@ -124,7 +125,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
124125
### Added
125126
- Add return types in the test suite ([#748](https://github.com/jsonrainbow/json-schema/pull/748))
126127
- Add test case for validating array of strings with objects ([#704](https://github.com/jsonrainbow/json-schema/pull/704))
127-
- Add contributing information, contributor recognition and security information ([#771](https://github.com/jsonrainbow/json-schema/pull/771))
128+
- Add contributing information, contributor recognition and security information ([#771](https://github.com/jsonrainbow/json-schema/pull/771))
128129

129130
### Fixed
130131
- Correct misconfigured mocks in JsonSchema\Tests\Uri\UriRetrieverTest ([#741](https://github.com/jsonrainbow/json-schema/pull/741))

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
[![Total Downloads](https://poser.pugx.org/justinrainbow/json-schema/downloads)](https://packagist.org/packages/justinrainbow/json-schema/stats)
66
![Supported Dialects](https://img.shields.io/endpoint?url=https%3A%2F%2Fbowtie.report%2Fbadges%2Fphp-justinrainbow-json-schema%2Fsupported_versions.json)
77

8-
A PHP Implementation for validating `JSON` Structures against a given `Schema` with support for `Schemas` of Draft-3,
9-
Draft-4 or Draft-6.
8+
A PHP Implementation for validating `JSON` Structures against a given `Schema` with support for `Schemas` of Draft-3,
9+
Draft-4 or Draft-6.
1010

11-
Features of newer Drafts might not be supported. See [Table of All Versions of Everything](https://json-schema.org/specification-links.html#table-of-all-versions-of-everything) to get an overview
11+
Features of newer Drafts might not be supported. See [Table of All Versions of Everything](https://json-schema.org/specification-links.html#table-of-all-versions-of-everything) to get an overview
1212
of all existing Drafts. See [json-schema](http://json-schema.org/) for more details about the JSON Schema specification
1313

1414
# Compliance
@@ -207,7 +207,7 @@ third argument to `Validator::validate()`, or can be provided as the third argum
207207
| `Constraint::CHECK_MODE_EXCEPTIONS` | Throw an exception immediately if validation fails |
208208
| `Constraint::CHECK_MODE_DISABLE_FORMAT` | Do not validate "format" constraints |
209209
| `Constraint::CHECK_MODE_VALIDATE_SCHEMA` | Validate the schema as well as the provided document |
210-
| `Constraint::CHECK_MODE_STRICT` [^3] | Validate the scheme using strict mode using the specified draft |
210+
| `Constraint::CHECK_MODE_STRICT` [^3] | Validate the scheme using strict mode using the specified draft |
211211

212212
[^1]: Please note that using `CHECK_MODE_COERCE_TYPES` or `CHECK_MODE_APPLY_DEFAULTS` will modify your
213213
original data.

SECURITY.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@
1010

1111
## Reporting a Vulnerability
1212

13-
JSON Schema uses the GitHub feature to safely report vulnerabilities, please report them using https://github.com/jsonrainbow/json-schema/security
13+
JSON Schema uses the GitHub feature to safely report vulnerabilities, please report them using https://github.com/jsonrainbow/json-schema/security

UPGRADE-6.0.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Thank you for your support and contributions to the project.
3030

3131
* The signature for the `BaseConstraint::AddError` method has changed.
3232

33-
The `$message` parameter has been removed and replaced by the `ConstraintError` parameter.
33+
The `$message` parameter has been removed and replaced by the `ConstraintError` parameter.
3434
The `ConstraintError` object encapsulates the error message along with additional information about the constraint violation.
3535

3636
*Before*

0 commit comments

Comments
 (0)