Skip to content

Commit

Permalink
ENH PHP 8.2 support
Browse files Browse the repository at this point in the history
  • Loading branch information
emteknetnz committed Dec 12, 2022
1 parent bf440e4 commit d995afd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/ORM/Connect/MySQLStatement.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ public function __construct($statement, $metadata)
public function __destruct()
{
$this->statement->close();
$this->currentRecord = false;
}

/**
Expand Down
7 changes: 7 additions & 0 deletions thirdparty/php-peg/Parser.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,13 @@
* the bracket if a failed match + restore has moved the current position backwards - so we have to check that too.
*/
class ParserRegexp {

public $parser;
public $rx;
public $matches;
public $match_pos;
public $check_pos;

function __construct( $parser, $rx ) {
$this->parser = $parser ;
$this->rx = $rx . 'Sx' ;
Expand Down

0 comments on commit d995afd

Please sign in to comment.