Upgrade 1-11.38

This commit is contained in:
xesmyd
2026-03-30 14:10:30 +02:00
parent f2a7e6d1fc
commit ac648ef29d
24665 changed files with 69682 additions and 2205004 deletions
@@ -24,25 +24,26 @@ namespace Zxing;
*
* @author Sean Owen
*/
abstract class ReaderException extends \Exception {
abstract class ReaderException extends \Exception
{
// disable stack traces when not running inside test units
//protected static $isStackTrace = System.getProperty("surefire.test.class.path") != null;
protected static $isStackTrace = false;
//protected static $isStackTrace = System.getProperty("surefire.test.class.path") != null;
protected static bool $isStackTrace = false;
function ReaderException($cause=null) {
if($cause){
parent::__construct($cause);
}
}
public function ReaderException($cause = null): void
{
if ($cause) {
parent::__construct($cause);
}
}
// Prevent stack traces from being taken
// srowen says: huh, my IDE is saying this is not an override. native methods can't be overridden?
// This, at least, does not hurt. Because we use a singleton pattern here, it doesn't matter anyhow.
//@Override
public final function fillInStackTrace() {
return null;
}
// Prevent stack traces from being taken
// srowen says: huh, my IDE is saying this is not an override. native methods can't be overridden?
// This, at least, does not hurt. Because we use a singleton pattern here, it doesn't matter anyhow.
//@Override
final public function fillInStackTrace()
{
return null;
}
}