ReviewOS

also looking at this

meemalabs/meema-client-php

Implement Feature Exception

#72
Merged glennmichael123 wants to merge implement-feature-exception into main
5 files +39 -3

Review threads live on the whole diff, not on one commit, so none are shown here - a thread's line means something in the branch's final form, and painting it into an intermediate step would put it on code it is not about.

src/Exceptions/FeatureNotImplementedException.phpmodified+1-1
Changes to src/Exceptions/FeatureNotImplementedException.php
@@ -14,6 +14,6 @@ class FeatureNotImplementedException extends Exception
1414 public function __construct(string $message = null)
1515 {
1616 parent::__construct($message ?? 'Error on line '.$this->getLine().' in '.$this->getFile()
17 .' ID is not a valid integer');
17 .' Feature not yet implemented. Please contact us if this is something you would like to see rather sooner than later.');
1818 }
1919}
src/Exceptions/InvalidFormatException.phpmodified+1-1
Changes to src/Exceptions/InvalidFormatException.php
@@ -14,6 +14,6 @@ class InvalidFormatException extends Exception
1414 public function __construct(string $message = null)
1515 {
1616 parent::__construct($message ?? 'Error on line '.$this->getLine().' in '.$this->getFile()
17 .' Feature not yet implemented. Please contact us if this is something you would like to see rather sooner than later.');
17 .' ID is not a valid integer');
1818 }
1919}