Repository: thephpleague/openapi-psr7-validator (php)

Issue:
Type Integer Maximum constraint validation message is not correct
```yaml
number:
  type: integer
  minimum: 1
  maximum: 2147483648
  exclusiveMaximum: true
```

When number is equal to 2147483648, I get this validation message:

`Keyword validation failed: Value 2147483648 must be less or equal to 2147483648`

Validation is good but the message is wrong, it should be `less than 2147483648`

Messages when using exclusiveMaximum true/false should be interchanged.

Pull request description:
interchange Maximum/Minimum exclusive messages
Resolve #125

Patch:
diff --git a/src/Schema/Keywords/Maximum.php b/src/Schema/Keywords/Maximum.php
index dbf7942..898297c 100644
--- a/src/Schema/Keywords/Maximum.php
+++ b/src/Schema/Keywords/Maximum.php
@@ -57,7 +57,7 @@ class Maximum extends BaseKeyword
             throw KeywordMismatch::fromKeyword(
                 'maximum',
                 $data,
-                sprintf('Value %d must be less or equal to %d', $data, $maximum)
+                sprintf('Value %d must be less than %d', $data, $maximum)
             );
         }
 
@@ -65,7 +65,7 @@ class Maximum extends BaseKeyword
             throw KeywordMismatch::fromKeyword(
                 'maximum',
                 $data,
-                sprintf('Value %d must be less than %d', $data, $maximum)
+                sprintf('Value %d must be less or equal to %d', $data, $maximum)
             );
         }
     }
diff --git a/src/Schema/Keywords/Minimum.php b/src/Schema/Keywords/Minimum.php
index 0672744..c41b702 100644
--- a/src/Schema/Keywords/Minimum.php
+++ b/src/Schema/Keywords/Minimum.php
@@ -57,7 +57,7 @@ class Minimum extends BaseKeyword
             throw KeywordMismatch::fromKeyword(
                 'minimum',
                 $data,
-                sprintf('Value %d must be greater or equal to %d', $data, $minimum)
+                sprintf('Value %d must be greater than %d', $data, $minimum)
             );
         }
 
@@ -65,7 +65,7 @@ class Minimum extends BaseKeyword
             throw KeywordMismatch::fromKeyword(
                 'minimum',
                 $data,
-                sprintf('Value %d must be greater than %d', $data, $minimum)
+                sprintf('Value %d must be greater or equal to %d', $data, $minimum)
             );
         }
     }


Test patch:
diff --git a/tests/Schema/Keywords/MaximumTest.php b/tests/Schema/Keywords/MaximumTest.php
index d19cf23..102fccb 100644
--- a/tests/Schema/Keywords/MaximumTest.php
+++ b/tests/Schema/Keywords/MaximumTest.php
@@ -45,6 +45,7 @@ SPEC;
             (new SchemaValidator())->validate($data, $schema);
         } catch (KeywordMismatch $e) {
             $this->assertEquals('maximum', $e->keyword());
+            $this->assertEquals('Keyword validation failed: Value 100 must be less than 100', $e->getMessage());
         }
     }
 }
diff --git a/tests/Schema/Keywords/MinimumTest.php b/tests/Schema/Keywords/MinimumTest.php
index 21383d0..396ca24 100644
--- a/tests/Schema/Keywords/MinimumTest.php
+++ b/tests/Schema/Keywords/MinimumTest.php
@@ -45,6 +45,7 @@ SPEC;
             (new SchemaValidator())->validate($data, $schema);
         } catch (KeywordMismatch $e) {
             $this->assertEquals('minimum', $e->keyword());
+            $this->assertEquals('Keyword validation failed: Value 100 must be greater than 100', $e->getMessage());
         }
     }
 }