8000 [Validator] Add documentation for the new `SemVer` constraint by OskarStark · Pull Request #21162 · symfony/symfony-docs · GitHub
[go: up one dir, main page]

Skip to content

[Validator] Add documentation for the new SemVer constraint #21162

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

Closed
wants to merge 5 commits into from
Closed
Changes from 1 commit
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
Prev Previous commit
Update reference/constraints/SemVer.rst
Co-authored-by: Christian Flothmann <christian.flothmann@gmail.com>
  • Loading branch information
OskarStark and xabbuh authored Jul 3, 2025
commit bcb7e019e7ba3825e9593e9de01f7746791f7874
2 changes: 1 addition & 1 deletion reference/constraints/SemVer.rst
D87C
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@

<class name="App\Entity\Package">
<property name="version">
<constraint name="SemVer" />
<constraint name="SemVer"/>
</property>
</class>
</constraint-mapping>
Expand All @@ -62,7 +62,7 @@
// src/Entity/Package.php
namespace App\Entity;

use Symfony\Component\Validator\Constraints as Assert;

Check failure on line 65 in reference/constraints/SemVer.rst

View workflow job for this annotation

GitHub Actions / Code Blocks

[Missing class] Class, interface or trait with name "Symfony\Component\Validator\Constraints" does not exist
use Symfony\Component\Validator\Mapping\ClassMetadata;

class Package
Expand Down Expand Up @@ -142,7 +142,7 @@
// src/Entity/Package.php
namespace App\Entity;

use Symfony\Component\Validator\Constraints as Assert;

Check failure on line 145 in reference/constraints/SemVer.rst

View workflow job for this annotation

GitHub Actions / Code Blocks

[Missing class] Class, interface or trait with name "Symfony\Component\Validator\Constraints" does not exist
use Symfony\Component\Validator\Mapping\ClassMetadata;

class Package
Expand Down
Loading
0