Maurício Meneghini Fauth
|
67e96cf40c
|
Get default config values from Config\Settings classes
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2021-09-30 12:04:47 -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 |
|
Maurício Meneghini Fauth
|
8f2f3eff40
|
Remove the Core::isValid method
This improves the type checking and simplifies the code.
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2021-09-02 13:20:50 -03:00 |
|
Maurício Meneghini Fauth
|
5725516656
|
Inline Core::ifSetOr method
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2021-09-01 13:29:05 -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
|
89365207c6
|
Add test cases for phpmyadmin/docker#328
Closes: phpmyadmin/docker#328
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2021-08-13 02:35:35 +02:00 |
|
Maurício Meneghini Fauth
|
355f6d9d20
|
Remove PhpMyAdmin\Config::enableBc method
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2021-07-09 13:59:04 -03:00 |
|
Maurício Meneghini Fauth
|
262cbe45b9
|
Move some Core methods to Common class
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2021-07-06 16:52:54 -03:00 |
|
Maurício Meneghini Fauth
|
9adaa912e1
|
Rename Response class to ResponseRenderer
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2021-06-30 12:35:22 -03:00 |
|
Maurício Meneghini Fauth
|
cab899d7b5
|
Fix some errors found by Psalm
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2021-06-21 15:58:11 -03:00 |
|
Maurício Meneghini Fauth
|
5cfe084f9e
|
Fix failing unit test
PhpMyAdmin\Tests\CoreTest::testMissingExtensionFatalWithExtra
Failed asserting that false is greater than 0.
https://github.com/phpmyadmin/phpmyadmin/runs/2842493560#step:6:573
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2021-06-16 17:01:00 -03:00 |
|
Maurício Meneghini Fauth
|
1ed9ab5dda
|
Fix failing unit test
Random Seeds: 1623610942, 1623612011, 1623680984
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2021-06-14 12:41:49 -03: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 |
|
Maurício Meneghini Fauth
|
1c084de30b
|
Fix coding standard errors
Related to 62f142c9fa.
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2021-06-03 16:50:33 -03:00 |
|
William Desportes
|
77b5e402c5
|
Merge branch 'QA_5_1'
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2021-05-11 01:20:20 +02:00 |
|
Liviu-Mihail Concioiu
|
1c8f9b4d23
|
Replace secure.php.net with www.php.net and remove Polish and Persian from PHP documentation
Signed-off-by: Liviu-Mihail Concioiu <liviu.concioiu@gmail.com>
|
2021-04-26 14:32:03 +02:00 |
|
Maurício Meneghini Fauth
|
33d711215d
|
Remove the PMA_VERSION constant
Uses the PhpMyAdmin\Version::VERSION constant instead.
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2021-03-08 22:22:55 -03:00 |
|
Maurício Meneghini Fauth
|
7e33d227f5
|
Rename the PMA_Config global variable to config
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2021-03-08 15:03:12 -03:00 |
|
Maurício Meneghini Fauth
|
0b8edc5bde
|
Use PSR-12 for namespace use statements
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2021-03-05 14:18:35 -03: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
|
0d97b16d16
|
Merge branch 'QA_5_0'
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2020-10-13 14:13:03 +02:00 |
|
William Desportes
|
1fcb62e563
|
Flag 32 bit incompatible tests
Group: 32bit-incompatible
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2020-10-11 19:05:14 +02:00 |
|
Maurício Meneghini Fauth
|
f2e49a92c6
|
Fix some type errors detected by PHPStan
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2020-09-30 19:23:01 -03:00 |
|
Maurício Meneghini Fauth
|
e5514a6b66
|
Fix some PHPStan errors
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2020-08-10 21:24:35 -03: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
|
41622c7dfb
|
Extract method for token checking from common.inc.php
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2020-07-04 16:34:24 -03:00 |
|
Maurício Meneghini Fauth
|
b30f06455c
|
Remove the blacklist/whitelist terminology
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2020-06-15 17:51:24 -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 |
|
Maurício Meneghini Fauth
|
9269d75fb4
|
Fix some coding standard issues
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2020-05-25 20:22:18 -03:00 |
|
William Desportes
|
a878168e6c
|
Fix a typo in my last commit
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2020-05-22 09:08:26 +02:00 |
|
William Desportes
|
b8e6834058
|
Rename PmaTestCase to AbstractNetwokTestCase
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2020-05-22 01:49:22 +02:00 |
|
William Desportes
|
ae575ffb14
|
Fix running tests in --process-isolation
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2020-05-21 16:21:20 +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
|
0964470643
|
Use parent::setGlobalConfig();
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
|
80a45fa0ae
|
Break too long lines
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2020-05-16 18:08:20 -03:00 |
|
William Desportes
|
54e0250dae
|
Merge branch 'QA_5_0'
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2020-04-18 12:50:30 +02:00 |
|
William Desportes
|
62a6591d3f
|
Fix some phpcs issues after latest phpcs 3.5.5 release
I left the false positives unfixed: https://github.com/squizlabs/PHP_CodeSniffer/issues/2937#issuecomment-615498860
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2020-04-18 01:01:38 +02:00 |
|
William Desportes
|
0455dab6bb
|
Merge branch 'QA_5_0'
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2020-02-15 11:40:12 +01:00 |
|
William Desportes
|
74f7e7b0f0
|
Fix CR vs CRLF issue for testSendHeaderLocationIisLongUri on Windows
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2020-02-15 01:39:36 +01:00 |
|
William Desportes
|
0032dff0d3
|
Merge branch 'QA_5_0'
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2020-02-10 09:09:02 +01:00 |
|
Max Base
|
efb5bfdc89
|
Fix #15926 - PhpMyAdmin\Core::getRealSize
Signed-off-by: Seyyed Ali Mohammadieh <Max@Asrez.com>
|
2020-02-10 08:34:24 +01: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
|
676f48349a
|
Reference global funcs and consts via use statement
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2020-01-21 22:13:36 -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 |
|