Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Assert] New Component #222

Merged
merged 13 commits into from
Sep 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ docs/ @JoshuaEstes
/src/SonsOfPHP/Bard @JoshuaEstes

# Each component/contract needs a Team
/src/SonsOfPHP/**/Assert @JoshuaEstes
/src/SonsOfPHP/**/Cache @JoshuaEstes
/src/SonsOfPHP/**/Clock @JoshuaEstes
/src/SonsOfPHP/**/Container @JoshuaEstes
Expand Down
4 changes: 4 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ Bard:
- docs/bard/*
- src/SonsOfPHP/Bard/*

Assert:
- docs/components/assert/*
- src/SonsOfPHP/**/Assert/*

Cache:
- docs/components/cache/*
- src/SonsOfPHP/**/Cache/*
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ To get the diff between two versions, go to https://github.com/SonsOfPHP/sonsofp

## [Unreleased]

* [PR #222](https://github.com/SonsOfPHP/sonsofphp/pull/222) [Assert] New Component
* [PR #221](https://github.com/SonsOfPHP/sonsofphp/pull/221) [StateMachine] New Contract and Component
* [PR #220](https://github.com/SonsOfPHP/sonsofphp/pull/220) [Filesystem] Adds bridges for AWS and LiipImagineBundle
* [PR #214](https://github.com/SonsOfPHP/sonsofphp/pull/214) [Logger] Bug fixes and updates
Expand Down
4 changes: 4 additions & 0 deletions bard.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
"path": "src/SonsOfPHP/Bard",
"repository": "[email protected]:SonsOfPHP/bard.git"
},
{
"path": "src/SonsOfPHP/Component/Assert",
"repository": "[email protected]:SonsOfPHP/assert.git"
},
{
"path": "src/SonsOfPHP/Component/StateMachine",
"repository": "[email protected]:SonsOfPHP/state-machine.git"
Expand Down
10 changes: 6 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,7 @@
"psr/http-server-handler": "^1.0",
"psr/http-server-middleware": "^1.0",
"aws/aws-sdk-php": "^3.0",
"liip/imagine-bundle": "^2.0",
"sonsofphp/state-machine-contract": "0.3.x-dev"
"liip/imagine-bundle": "^2.0"
},
"replace": {
"sonsofphp/bard": "self.version",
Expand Down Expand Up @@ -135,11 +134,13 @@
"sonsofphp/filesystem-aws": "self.version",
"sonsofphp/filesystem-liip-imagine": "self.version",
"sonsofphp/state-machine": "self.version",
"sonsofphp/state-machine-contract": "self.version"
"sonsofphp/state-machine-contract": "self.version",
"sonsofphp/assert": "self.version"
},
"autoload": {
"psr-4": {
"SonsOfPHP\\Bard\\": "src/SonsOfPHP/Bard/src",
"SonsOfPHP\\Component\\Assert\\": "src/SonsOfPHP/Component/Assert",
"SonsOfPHP\\Component\\StateMachine\\": "src/SonsOfPHP/Component/StateMachine",
"SonsOfPHP\\Contract\\StateMachine\\": "src/SonsOfPHP/Contract/StateMachine",
"SonsOfPHP\\Contract\\Mailer\\": "src/SonsOfPHP/Contract/Mailer",
Expand Down Expand Up @@ -186,6 +187,7 @@
},
"exclude-from-classmap": [
"src/SonsOfPHP/Bard/Tests",
"src/SonsOfPHP/Component/Assert/Tests",
"src/SonsOfPHP/Component/StateMachine/Tests",
"src/SonsOfPHP/Component/Mailer/Tests",
"src/SonsOfPHP/Component/Cache/Tests",
Expand Down Expand Up @@ -238,4 +240,4 @@
"SonsOfPHP\\Bridge\\Symfony\\Cqrs\\Tests\\": "src/SonsOfPHP/Bridge/Symfony/Cqrs/Tests"
}
}
}
}
9 changes: 9 additions & 0 deletions docs/components/assert/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
title: Assert
---

## Installation

```shell
composer require sonsofphp/assert
```
2 changes: 1 addition & 1 deletion phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@
</testsuite>
</testsuites>

<coverage includeUncoveredFiles="true" pathCoverage="false" ignoreDeprecatedCodeUnits="true" disableCodeCoverageIgnore="true">
<coverage includeUncoveredFiles="true" pathCoverage="false" ignoreDeprecatedCodeUnits="true" disableCodeCoverageIgnore="false">
</coverage>

<source>
Expand Down
Loading
Loading