Maurício Meneghini Fauth
|
5950693fb3
|
Fix possible undefined globals
Related to https://github.com/phpmyadmin/phpmyadmin/pull/17427.
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2022-03-10 18:05:21 -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
|
a1a778d475
|
Fix some issues reported by PHPStan
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2022-03-03 12:36:34 -03:00 |
|
Maurício Meneghini Fauth
|
1e542cd621
|
Replace vendor_config.php constants with an array
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2021-12-26 16:48:56 -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
|
7f6472b2c2
|
Add void return type where possible
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2021-09-13 15:29:11 -03:00 |
|
Maurício Meneghini Fauth
|
04d3c83559
|
Fix some errors found by PHPStan/Psalm
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2021-08-05 16:09:08 -03:00 |
|
Maurício Meneghini Fauth
|
e4ed0cc8be
|
Replace fopen, fwrite and fclose with file_put_contents
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2021-07-13 11:51:57 -03:00 |
|
Maurício Meneghini Fauth
|
340759e444
|
Replace scripts/fix-po-twig with a Console command
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2021-07-11 13:58:25 -03:00 |
|
Maurício Meneghini Fauth
|
6ae07c96fb
|
Replace strpos !== false with str_contains
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2021-07-09 22:30:42 -03:00 |
|
William Desportes
|
0fbfa7b0e0
|
Remove two symfony dev deps
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2021-06-26 19:05:28 +02:00 |
|
Maurício Meneghini Fauth
|
468c0498d1
|
Suppress current Psalm's ForbiddenCode errors
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2021-06-19 16:49:03 -03:00 |
|
Maurício Meneghini Fauth
|
6989d615a5
|
Fix some errors found by PHPStan
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2021-06-09 13:07:40 -03:00 |
|
Maurício Meneghini Fauth
|
9928882de3
|
Fix some errors found by Psalm
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2021-05-23 00:24:59 -03:00 |
|
Maurício Meneghini Fauth
|
3d539b78e6
|
Merge branch 'QA_5_1'
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2021-03-27 16:07:09 -03:00 |
|
William Desportes
|
7c2ebb163c
|
Write revision info from a CLI
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2021-03-25 21:42:23 +01:00 |
|
William Desportes
|
1cba4b2259
|
Merge all Twig Environment building to one function and split out po replacements
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2021-03-11 16:18:03 +01:00 |
|
William Desportes
|
725372a20e
|
Fix a mistake in the cache warmup command
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2021-03-11 16:17:31 +01: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
|
d83abf63e7
|
Use PSR-12 for control structures spacing
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2021-03-05 15:27:03 -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
|
a9044ffcab
|
Upgrade phpmyadmin/twig-i18n-extension to 4.0
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2021-02-25 01:51:18 +01:00 |
|
William Desportes
|
66255ffbf9
|
Ref #16584 - Replace exit code ints by constants
They where added in console version 5.1
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2021-02-23 16:17:41 +01:00 |
|
William Desportes
|
b889d5e57a
|
Merge branch 'QA_5_1'
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2021-02-23 16:00:23 +01:00 |
|
William Desportes
|
6e2459f57a
|
Add tests to generate the version file
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2021-02-22 00:18:24 +01:00 |
|
Maurício Meneghini Fauth
|
92965c6945
|
Add the PhpMyAdmin\Version class generator
Creates the PhpMyAdmin\Command\SetVersionCommand class.
Usage: ./scripts/console set-version 5.1.0-dev
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2021-02-22 00:18:24 +01:00 |
|
William Desportes
|
fcd3fda389
|
Merge branch 'QA_5_1'
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2021-02-21 23:46:25 +01:00 |
|
William Desportes
|
778d916adf
|
Re-write the route cache handling
See: https://github.com/nikic/FastRoute/issues/224
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2021-02-21 19:40:32 +01:00 |
|
William Desportes
|
8907662060
|
Avoid having a non working warmup
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2021-02-21 17:39:28 +01:00 |
|
Maurício Meneghini Fauth
|
7994eb3ac6
|
Fix some errors found by Psalm
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2021-02-10 17:12:11 -03:00 |
|
Maurício Meneghini Fauth
|
1e5fbd57fc
|
Create Twig\AssetExtension and image Twig function
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2021-01-28 16:09:17 -03:00 |
|
Maurício Meneghini Fauth
|
45e1128122
|
Move gettext calls to advisory rules files
Removes the need of the AdvisoryRulesCommand.
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2020-08-31 15:37:46 -03:00 |
|
Maurício Meneghini Fauth
|
3b285ff17e
|
Use identical operator for non-empty strings
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2020-07-10 18:06:29 -03:00 |
|
William Desportes
|
1a89fe750c
|
Update baselines and ignore errors
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2020-06-15 13:46:44 +02:00 |
|
William Desportes
|
7e5dd8eba0
|
Merge branch 'QA_5_0'
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2020-06-15 13:15:31 +02:00 |
|
Maurício Meneghini Fauth
|
f4582e083e
|
Use early exit when possible
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2020-05-27 00:35:24 -03:00 |
|
Maurício Meneghini Fauth
|
bd979dd1ff
|
Remove useless elseif with if
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2020-05-26 22:53:44 -03:00 |
|
Maurício Meneghini Fauth
|
82c2964bb8
|
Remove useless elses
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2020-05-26 22:27:45 -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
|
a64393e7f5
|
Fix some coding standard issues
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2020-05-13 00:23:28 -03:00 |
|
William Desportes
|
c3b99d7baa
|
Change functions from public to private in CacheWarmupCommand
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2020-03-28 10:41:18 +01:00 |
|
William Desportes
|
105daa8584
|
Support warm up all caches
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2020-03-28 10:38:11 +01:00 |
|
William Desportes
|
c6301a1542
|
Add routing cache warmup to warm up command
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2020-03-28 10:38:11 +01:00 |
|
Maurício Meneghini Fauth
|
558226d78e
|
Extract HTML from StorageEngine::getHtmlSelect()
Renames the method to StorageEngine::getArray().
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2020-03-27 19:31:35 -03:00 |
|
Maurício Meneghini Fauth
|
27d631e164
|
Use Console command for Twig cache warm up
Extracts the Twig cache generation to a console command.
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2020-02-20 23:15:40 -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
|
50bc4ab37f
|
Remove useless PHP docs for functions
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2020-01-20 13:20:01 -03:00 |
|
William Desportes
|
64881e1873
|
Fix a phpstan level 3 error and improve config
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2019-11-11 21:49:20 +01:00 |
|