Kamil Tekiela
|
f5bb90ebb9
|
Move queryAsControlUser - Dbal refactoring pt.3
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
|
2022-01-06 19:31:27 +00:00 |
|
Kamil Tekiela
|
47a039d70c
|
Implement ResultInterface & MysqliResult
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
|
2021-12-31 23:59:24 +00:00 |
|
Maurício Meneghini Fauth
|
d84af02945
|
Create VO classes for each RelationParameters features
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2021-12-26 19:17:58 -03:00 |
|
Maurício Meneghini Fauth
|
44fe103b9c
|
Remove @access annotations
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2021-12-22 11:43:45 -03:00 |
|
Maurício Meneghini Fauth
|
bf49480160
|
Populate relation Session with RelationParameters class
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2021-12-17 12:09:15 -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
|
b2a51c4d84
|
Create the RelationParameters value object
Replaces the $cfgRelation array with the RelationParameters value
object.
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2021-11-14 18:22:36 -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
|
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 |
|
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
|
9920b877f9
|
Fix some tests with PHP 8.1
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2021-06-11 18:14:40 -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
|
61eae4dba9
|
Remove navigation link generation from the Nodes
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2021-05-11 23:50:17 -03:00 |
|
Maurício Meneghini Fauth
|
8e5cc35e72
|
Extract navigation icons generation from the Nodes
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2021-05-08 20:40:54 -03:00 |
|
William Desportes
|
ba35901594
|
Merge branch 'origin/QA_5_1' into master
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2021-04-17 00:53:14 +02:00 |
|
William Desportes
|
7a3978a948
|
Remove useless htmlspecialchars on URL generation
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2021-04-13 17:23:12 +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 |
|
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
|
db3da81056
|
Remove some useless comments
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2020-10-13 19:56:56 -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 |
|
Maurício Meneghini Fauth
|
ba09c84a05
|
Fix PHPStan errors for PHPUnit assert methods
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2020-08-10 16:20:53 -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
|
dfa5f92c31
|
Add return type declaration to fetch row methods
DatabaseInterface's fetchArray, fetchAssoc, fetchRow and fetchSingleRow
methods.
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2020-06-29 20:32:04 -03:00 |
|
William Desportes
|
3683e4b022
|
Remove not needed if in NodeViewTest after 7623fed14a
Ref: 7623fed14a
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2020-06-03 00:37:12 +02:00 |
|
William Desportes
|
62baf0b8ea
|
Change Node::getChild return to ?Node
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2020-06-02 23:10:35 +02:00 |
|
William Desportes
|
82d7328d84
|
Fix failing test NavigationTreeTest
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2020-06-02 22:55:03 +02: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 |
|
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
|
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
|
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 |
|
William Desportes
|
f063c553f2
|
Fix some tests executed in random order
Using: ./vendor/bin/phpunit --order-by=random --random-order-seed=1589977275 --exclude=selenium --no-coverage --filter=FormDisplayTest
Seeds: 1590000479, 1589977275, 1589998302, x1590001040, x1590001183
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2020-05-20 21:10:32 +02:00 |
|
William Desportes
|
0b2c24ee26
|
Use ::class in tests
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2020-05-20 12:15:40 +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
|
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
|
285907991e
|
Add coding standard rules for whitespace
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2020-01-19 22:29:54 -03:00 |
|
William Desportes
|
fa01cea3f2
|
Add phpdoc blocks for phpstan
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2019-12-29 15:28:18 +01: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
|
77518d341e
|
Remove unused use statements
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2019-12-11 21:20:58 -03:00 |
|
Maurício Meneghini Fauth
|
f97d957f00
|
Add PHPStan PHPUnit extensions and rules
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2019-12-07 15:32:32 -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 |
|