Passed
Pull Request — master (#1361)
by
unknown
04:36 queued 01:41
created
src/Exclusion/VersionExclusionStrategy.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
 
29 29
     public function shouldSkipProperty(PropertyMetadata $property, Context $navigatorContext): bool
30 30
     {
31
-        if ((null !== $constraints = $property->versionConstraints) && !Semver::satisfies($this->version, $constraints)) {
31
+        if ((null !== $constraints = $property->versionConstraints) && ! Semver::satisfies($this->version, $constraints)) {
32 32
             return true;
33 33
         }
34 34
 
Please login to merge, or discard this patch.
src/Annotation/VersionConstraints.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
 {
16 16
     public function __construct($values = [], ?string $version = null)
17 17
     {
18
-        if (!class_exists(ComposerSemver::class)) {
18
+        if ( ! class_exists(ComposerSemver::class)) {
19 19
             throw new \LogicException(sprintf('composer/semver must be installed to use "%s".', self::class));
20 20
         }
21 21
 
Please login to merge, or discard this patch.