[phpMyAdmin Git] [phpmyadmin/sql-parser] b914cc: Use LoaderException instead of generic Exception f...

Michal Čihař michal at cihar.com
Mon Aug 21 11:47:08 CEST 2017


  Branch: refs/heads/master
  Home:   https://github.com/phpmyadmin/sql-parser
  Commit: b914cc04f513dda6bd03f6234e07260aa3aa9e95
      https://github.com/phpmyadmin/sql-parser/commit/b914cc04f513dda6bd03f6234e07260aa3aa9e95
  Author: Michal Čihař <michal at cihar.com>
  Date:   2017-08-21 (Mon, 21 Aug 2017)

  Changed paths:
    M CHANGELOG.md
    M src/Context.php
    A src/Exceptions/LoaderException.php

  Log Message:
  -----------
  Use LoaderException instead of generic Exception for loader errors

This make it easier to handle the errors and could help with
https://github.com/phpmyadmin/phpmyadmin/issues/12791

Signed-off-by: Michal Čihař <michal at cihar.com>


  Commit: 292a4da16c72515d26b50b9407bc06ce476082a7
      https://github.com/phpmyadmin/sql-parser/commit/292a4da16c72515d26b50b9407bc06ce476082a7
  Author: Michal Čihař <michal at cihar.com>
  Date:   2017-08-21 (Mon, 21 Aug 2017)

  Changed paths:
    M src/Context.php

  Log Message:
  -----------
  Silent warnings from creating exception

Apparently this can lead to strange errors on some setups:

    Accessing static property Exception::$trace as non static

Fixes https://github.com/phpmyadmin/phpmyadmin/issues/12791

Signed-off-by: Michal Čihař <michal at cihar.com>


Compare: https://github.com/phpmyadmin/sql-parser/compare/b9d3d9d95ba7...292a4da16c72


More information about the Git mailing list