Maurício Meneghini Fauth
|
3f2c53ef1d
|
Replace PHPUnit annotations with attributes
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2023-06-07 11:44:01 -03:00 |
|
Maurício Meneghini Fauth
|
9e53d6914c
|
Improve array type inference for some tests
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2023-04-01 20:18:20 -03:00 |
|
Maurício Meneghini Fauth
|
dd885dc7b8
|
Use single-line arrays when possible
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2023-03-27 17:39:17 -03:00 |
|
Maurício Meneghini Fauth
|
f9c8035768
|
Add native parameter types to test classes
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2023-02-27 01:54:03 -03:00 |
|
Maurício Meneghini Fauth
|
16a0660a78
|
Add native property types to test classes
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2023-02-27 01:17:22 -03:00 |
|
Maurício Meneghini Fauth
|
556594b4cd
|
Fix coding standard spacing issues
- Fixes one line doc comments
- Fixes parent call spacing
- Fixes constant spacing
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2023-02-24 21:06:17 -03:00 |
|
Maurício Meneghini Fauth
|
77957a69a5
|
Add trailing comma for multi-line functions
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2023-02-24 20:48:46 -03:00 |
|
Maurício Meneghini Fauth
|
0ab9e4ac77
|
Change PHPUnit data providers to use static methods
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2023-02-14 12:42:16 -03:00 |
|
Maurício Meneghini Fauth
|
93c77c3784
|
Merge branch 'QA_5_2'
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2023-01-24 11:23:53 -03:00 |
|
William Desportes
|
b0b3fcf83d
|
Fix broken tests after UUID changes
Ref: 6d482de7b8
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2023-01-22 01:19:34 +04:00 |
|
Liviu-Mihail Concioiu
|
5ab43f618d
|
Adds support for SHA2 function (#17809)
* Adds support for SHA2 function
Fixes #17760
Signed-off-by: Liviu-Mihail Concioiu <liviu.concioiu@gmail.com>
|
2022-10-18 16:12:06 -03:00 |
|
William Desportes
|
007915bc0a
|
Merge branch 'QA_5_2'
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2022-10-14 20:49:18 +02:00 |
|
William Desportes
|
6da193304f
|
Merge branch 'QA_5_2'
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2022-10-13 20:13:48 +02:00 |
|
Mo Sureerat
|
582476e5a5
|
Update operator options for UUID
Signed-off-by: Mo Sureerat <sureemo@gmail.com>
|
2022-10-13 03:39:51 +07:00 |
|
Mo Sureerat
|
4d52baf700
|
Add test case for Types & DatabaseInterface
Signed-off-by: Mo Sureerat <sureemo@gmail.com>
|
2022-10-12 21:41:48 +07:00 |
|
Mo Sureerat
|
a07474f997
|
Handle array re-index + fix setVersion logic + hardcode version int
Signed-off-by: Mo Sureerat <sureemo@gmail.com>
|
2022-10-11 17:32:03 +07:00 |
|
Mo Sureerat
|
6acf0901ac
|
Support UUID for MariaDB
Signed-off-by: Mo Sureerat <sureemo@gmail.com>
|
2022-10-10 22:39:10 +07:00 |
|
Maurício Meneghini Fauth
|
346923e20a
|
Set dbi only when the test needs it
Related to https://github.com/phpmyadmin/phpmyadmin/pull/17637
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2022-07-14 02:21:45 -03:00 |
|
Maurício Meneghini Fauth
|
3e0856c77b
|
Remove useless string concatenations
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2021-09-27 21:40:22 -03:00 |
|
Maurício Meneghini Fauth
|
f00d70cccb
|
Remove useless whitespaces
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2021-09-15 17:05:40 -03:00 |
|
William Desportes
|
dd4f0571ac
|
Merge branch 'QA_5_1'
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2021-08-14 14:42:12 +02:00 |
|
William Desportes
|
bf18dd5087
|
Fix testGetAllFunctions test after #17079
Extracted from pull-request #17074 by myself (@williamdes).
Signed-off-by: Maximilian Krög <maxi_kroeg@web.de>
|
2021-08-14 14:24:38 +02:00 |
|
Maurício Meneghini Fauth
|
f3b79d83c0
|
Add PHPUnit's Covers annotation on test classes
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2021-06-04 23:39:26 -03:00 |
|
liviuconcioiu
|
c4ca6f346c
|
Fix #16829 - Add NOT LIKE %...% operator to Table search
Signed-off-by: Liviu Concioiu <liviu.concioiu@gmail.com>
|
2021-04-23 18:58:08 +02:00 |
|
Maurício Meneghini Fauth
|
db3da81056
|
Remove some useless comments
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2020-10-13 19:56:56 -03:00 |
|
William Desportes
|
ddfdbc2134
|
Remove some useless doc blocks and fix some coding standard warnings
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2020-07-18 00:14:32 +02:00 |
|
William Desportes
|
0340f66740
|
Fix some tests having wrong typehints
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2020-07-17 23:55:49 +02:00 |
|
William Desportes
|
a80153a633
|
Add typehints using phpcbf on test/*
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2020-07-17 22:52:42 +02:00 |
|
Maurício Meneghini Fauth
|
47f0960dce
|
Add return type declaration to test methods
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2020-07-07 11:31:33 -03:00 |
|
Maurício Meneghini Fauth
|
3ae05c785d
|
Use short list syntax and single line arrays
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2020-05-26 03:32:59 -03:00 |
|
Maurício Meneghini Fauth
|
3baad2eb1c
|
Fix some coding standard issues
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2020-05-25 22:42:37 -03:00 |
|
William Desportes
|
49a6d6e8d0
|
Use AbstractTestCase instead of PmaTestCase for all tests not needing mockResponse
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2020-05-22 01:45:50 +02:00 |
|
William Desportes
|
f89f4c9f2c
|
Fix failing tests after tear down cleans everything
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2020-05-21 13:19:23 +02:00 |
|
William Desportes
|
8f7d3d1fa7
|
Fix test cases after backupGlobals = false
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2020-05-21 02:07:45 +02:00 |
|
William Desportes
|
6eaa55e805
|
Call parent's setUp and tearDown
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2020-05-20 21:31:13 +02:00 |
|
Maurício Meneghini Fauth
|
206199105e
|
Remove useless return type annotations
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2020-01-23 13:03:29 -03:00 |
|
Maurício Meneghini Fauth
|
6584b01824
|
Use short versions of scalar types in PHP docs
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2020-01-23 12:20:04 -03:00 |
|
Maurício Meneghini Fauth
|
42166cac37
|
Remove use statements within the same namespace
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2020-01-21 19:47:56 -03:00 |
|
Maurício Meneghini Fauth
|
f80d3e3bd4
|
Remove unnecessary annotations
@package, @subpackage and others.
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2020-01-20 17:35:56 -03:00 |
|
Maurício Meneghini Fauth
|
6283caaabf
|
Use one line for comments with a single line
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2020-01-20 16:04:09 -03:00 |
|
Maurício Meneghini Fauth
|
e1f9ae00cd
|
Add a trailing comma in multi-line arrays
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2019-06-14 14:09:26 -03:00 |
|
William Desportes
|
fbd89fb882
|
Merge branch 'QA_4_8'
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2019-05-01 17:53:24 +02:00 |
|
William Desportes
|
3399e5babd
|
Fix spatial functions
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2019-04-16 11:11:28 +02:00 |
|
Maurício Meneghini Fauth
|
182491a73f
|
Add void return type declaration for tests
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
|
2019-02-22 21:33:55 -03:00 |
|
Maurício Meneghini Fauth
|
23c3579804
|
Format array declarations
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
|
2019-01-07 14:31:39 -02:00 |
|
Maurício Meneghini Fauth
|
999b4d14f0
|
Fix some coding standard errors
- Fixes array identation
- Removes empty statements
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
|
2019-01-05 21:25:08 -02:00 |
|
Michael Heiland
|
354e77e341
|
Rresolve #14419 - changed order in type dropdown
Signed-off-by: Michael Heiland <michael.heiland.01@gmail.com>
|
2018-10-17 12:18:37 +02:00 |
|
William Desportes
|
e816e45c18
|
phpstan level 0 (#14405)
* Fix phpdoc @return
- Fixed @return typehint
Signed-off-by: William Desportes <williamdes@wdes.fr>
* Fix incorrect case on function calls
Signed-off-by: William Desportes <williamdes@wdes.fr>
* Type hint + typo fix
Signed-off-by: William Desportes <williamdes@wdes.fr>
* Fixes
- @return fix
- @var fix
- Class names
- Throws fix
- test/classes/Plugins/Export/ExportSqlTest.php any() invoked with 1 parameter, 0 required
- libraries/classes/Controllers/Table/TableStructureController.php Array has 2 duplicate keys with value 'columns_list'
- Call parent constructor libraries/classes/Error.php
Signed-off-by: William Desportes <williamdes@wdes.fr>
* Update config
Signed-off-by: William Desportes <williamdes@wdes.fr>
* Access to an undefined property
- Access to an undefined property PhpMyAdmin\Plugins\Schema\Pdf\PdfRelationSchema::$diagram_row
- Access to an undefined property PhpMyAdmin\Plugins\Schema\Pdf\Pdf::$cMargin
- Undefined properties
Signed-off-by: William Desportes <williamdes@wdes.fr>
* Update config
Signed-off-by: William Desportes <williamdes@wdes.fr>
* Fix bootstrap-phpstan
Signed-off-by: William Desportes <williamdes@wdes.fr>
* Fix typos and phpstan config
Fixes: #14399
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2018-06-25 20:34:46 -03:00 |
|
Maurício Meneghini Fauth
|
285e38e931
|
Fix some PSR-2 coding standard errors
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
|
2018-05-30 09:07:56 -03:00 |
|
Maurício Meneghini Fauth
|
b9c0463d96
|
Use short array syntax instead of long array syntax
Replaces array() with [].
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
|
2018-05-30 01:42:21 -03:00 |
|