[phpMyAdmin Git] [phpmyadmin/phpmyadmin] 9e2bb1: Replace Assert exceptions with a more specific one

Maurício Meneghini Fauth mauricio at fauth.dev
Thu Dec 9 18:53:47 CET 2021


Branch: refs/heads/master
Home: https://github.com/phpmyadmin/phpmyadmin
Commit: 9e2bb1e996522e1de9694584e5b256f05c463767
https://github.com/phpmyadmin/phpmyadmin/commit/9e2bb1e996522e1de9694584e5b256f05c463767
Author: Maurício Meneghini Fauth <mauricio at fauth.dev>
Date: 2021-12-09 (Thu, 12 December 2021) -03:00

Changed paths: 
M libraries/classes/Common.php
M libraries/classes/Controllers/Table/Maintenance/AnalyzeController.php
M libraries/classes/Controllers/Table/Maintenance/CheckController.php
M libraries/classes/Controllers/Table/Maintenance/ChecksumController.php
M libraries/classes/Controllers/Table/Maintenance/OptimizeController.php
M libraries/classes/Controllers/Table/Maintenance/RepairController.php
M libraries/classes/Controllers/Table/Partition/AnalyzeController.php
M libraries/classes/Controllers/Table/Partition/CheckController.php
M libraries/classes/Controllers/Table/Partition/DropController.php
M libraries/classes/Controllers/Table/Partition/OptimizeController.php
M libraries/classes/Controllers/Table/Partition/RebuildController.php
M libraries/classes/Controllers/Table/Partition/RepairController.php
M libraries/classes/Controllers/Table/Partition/TruncateController.php
M libraries/classes/Dbal/DatabaseName.php
M libraries/classes/Dbal/TableName.php
M test/classes/Dbal/DatabaseNameTest.php
M test/classes/Dbal/TableNameTest.php

Log Message:
-----------
Replace Assert exceptions with a more specific one

Catches only \Webmozart\Assert\InvalidArgumentException instead of all
\InvalidArgumentException.

Signed-off-by: Maurício Meneghini Fauth <mauricio at fauth.dev>



More information about the Git mailing list