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
|
cb67fa306d
|
Remove Reflection's setAccessible() method
This method is no-op since PHP 8.1.
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2023-02-21 20:35:45 -03:00 |
|
Maurício Meneghini Fauth
|
c95b64afeb
|
Remove globals from the Replication class
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2023-01-13 17:12:23 -03:00 |
|
Kamil Tekiela
|
8b0cf8c16c
|
Remove dependancy in Database/StructureController
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
|
2022-12-16 20:58:47 +00:00 |
|
Maurício Meneghini Fauth
|
f103bdc1e2
|
Replace $_REQUEST with ServerRequest in Util::getDbInfo()
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2022-11-08 00:06:25 -03:00 |
|
Maurício Meneghini Fauth
|
1438cb211e
|
Replace global keyword with $GLOBALS
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2022-03-07 17:31:11 -03:00 |
|
Maurício Meneghini Fauth
|
5a34a3bb04
|
Remove db and table properties from controllers
Replaces them with their respective globals.
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2022-02-02 14:48:43 -03:00 |
|
Maurício Meneghini Fauth
|
c411121fd8
|
Move Relation classes into the ConfigStorage namespace
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2021-12-17 12:09:13 -03:00 |
|
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
|
e3554879ef
|
Extract actions from controllers to new controllers
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2021-09-07 21:19:43 -03:00 |
|
William Desportes
|
f0db5fb57e
|
Add tests for Mroonga support
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2021-07-11 21:54:36 +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
|
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
|
4866cd5b4a
|
Fix failing unit test
Random Seed: 1623607618
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2021-06-13 15:52:07 -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
|
3bc39289e7
|
Fix PHP 8.1 PHPUnit tests
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2021-05-21 10:11:59 -03:00 |
|
Maurício Meneghini Fauth
|
8d0c2a339c
|
Move both operands of an assignment to the same line
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2021-04-20 22:35:21 -03:00 |
|
Maurício Meneghini Fauth
|
a7d6df17d6
|
Remove warnings from PHPUnit
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2021-04-09 13:28:47 -03:00 |
|
Maurício Meneghini Fauth
|
c0e85ed76c
|
Add flash message support for db structure controller
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2021-03-20 18:56:35 -03: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
|
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 |
|
William Desportes
|
50e900a1bf
|
Remove all @test annotations
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2020-11-08 23:01:26 +01:00 |
|
Maurício Meneghini Fauth
|
71c2f2d99a
|
Remove is_show_stats PHP global variable
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2020-11-02 18:48:23 -03:00 |
|
Maurício Meneghini Fauth
|
e7bdd39ae6
|
Remove DBI dep from Database\AbstractController
Moves the DatabaseInterface class dependency to the classes that use it.
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2020-10-12 10:46:27 -03:00 |
|
Maurício Meneghini Fauth
|
cd862d4f00
|
Remove replication_info global variable
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2020-09-12 09:04:44 -03:00 |
|
Maurício Meneghini Fauth
|
ceac762e09
|
Remove pmaThemePath and pmaThemeImage PHP globals
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2020-09-02 10:57:57 -03: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
|
c9c17a2946
|
Extract drop action from db structure index method
Related to #16173.
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2020-06-21 00:08:25 -03:00 |
|
William Desportes
|
a300a25319
|
Replace assertEquals({false,true} by assert{false,true}
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2020-05-26 13:13:15 +02: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
|
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
|
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
|
4a0bce1d53
|
Extract db structure bulk actions from mult_submits
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2020-04-22 23:13:35 -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 |
|
Maurício Meneghini Fauth
|
8029ea9875
|
Move request handling from routes to controllers
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2020-02-12 15:00:02 -03:00 |
|
Maurício Meneghini Fauth
|
f5c970639c
|
Move response handling from routes to controllers
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2020-02-12 14:59:42 -03: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
|
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
|
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
|
39f42f848b
|
Remove some useless docblock comments
Fixes docblock spacing
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2019-12-13 21:15:00 -03:00 |
|
Maurício Meneghini Fauth
|
dd06cd38f8
|
Defines rules for double quote usage
Makes sure that any use of double quotes strings are warranted.
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2019-12-01 14:10:07 -03:00 |
|
Maurício Meneghini Fauth
|
acd62791b8
|
Move database structure entry point to routes file
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2019-11-03 21:01:00 -03:00 |
|