William Desportes
|
a6d39d39be
|
Improve non standard doc blocks
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2021-06-15 21:39:28 +02:00 |
|
William Desportes
|
796aa9f5b2
|
Merge branch 'QA_5_1'
Test fix was already added in: 3bc39289e7
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2021-06-04 00:14:23 +02: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 |
|
Maurício Meneghini Fauth
|
eb96360cda
|
Fix some failing tests for PHP 8.1
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2021-06-01 23:41:16 -03:00 |
|
William Desportes
|
f5f636ef3b
|
Merge branch 'QA_5_1'
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2021-05-28 21:43:28 +02:00 |
|
William Desportes
|
a0b36073fe
|
Fix #16920 - Uncaught TypeError: PhpMyAdmin\Import::detectType(): Argument #2 ($cell) must be of type ?string, float given
Fixes: #16920
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2021-05-28 21:36:39 +02: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
|
9965311520
|
Rename Import class variables to use camel case
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2021-04-18 12:31:29 -03:00 |
|
William Desportes
|
85afe9a14f
|
Merge branch 'QA_5_1'
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2021-04-12 19:01:36 +02:00 |
|
Saksham Gupta
|
9862b938ac
|
Fix #16789 Missing ; from Create PHP code
Signed-off-by: Saksham Gupta <shucon01@gmail.com>
|
2021-04-12 17:31:42 +02: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 |
|
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
|
ac9bccf67d
|
Replace $GLOBALS['dbi'] with global $dbi
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2020-10-11 09:24:21 -03:00 |
|
Maurício Meneghini Fauth
|
bb32ba6d9c
|
Fix some coding standard issues
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2020-10-04 12:31:43 -03:00 |
|
Maurício Meneghini Fauth
|
e7c8e20edb
|
Fix some type errors detected by PHPStan
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2020-10-02 00:37:23 -03:00 |
|
Maurício Meneghini Fauth
|
fa67657b1a
|
Remove Display\Import class
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2020-08-20 00:21:26 -03:00 |
|
Maurício Meneghini Fauth
|
578d70e9de
|
Remove import_handle global variable
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2020-08-18 20:45:33 -03:00 |
|
Maurício Meneghini Fauth
|
9cab697cfa
|
Remove Import::stop method
Related to #16258.
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2020-08-18 17:29:05 -03:00 |
|
Maurício Meneghini Fauth
|
be5f9824b1
|
Merge branch 'QA_5_0'
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2020-08-16 20:16:05 -03:00 |
|
Maurício Meneghini Fauth
|
51b04c9b5c
|
Fix missing error message after failed import
Fixes #15328 (no message after import of zipped shapefile without
php-zip).
Closes #15643.
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2020-08-16 20:09:47 -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 |
|
Maurício Meneghini Fauth
|
7544375867
|
Remove exit from Import::stop method
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2020-07-09 17:06:30 -03: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
|
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
|
dfa718c1c6
|
Merge branch 'QA_5_0'
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2020-05-17 16:48:09 +02:00 |
|
William Desportes
|
7fc4722155
|
Fix #16093 - Error importing utf-8 with bom sql file
Do not use mb_ functions they are sensible to mb_internal_encoding()
Fixes: #16093
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2020-05-17 16:40:16 +02:00 |
|
Maurício Meneghini Fauth
|
8dd310fb6a
|
Remove assignments in if conditions
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2020-05-16 01:35:19 -03:00 |
|
Maurício Meneghini Fauth
|
84139f4d51
|
Remove some useless variables
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2020-05-13 16:15: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
|
972180a862
|
Merge branch 'QA_5_0'
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2020-05-04 09:18:44 +02:00 |
|
William Desportes
|
13651548ae
|
#16093 - Move BOM stripping to a function and add tests
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2020-05-04 00:56:17 +02:00 |
|
William Desportes
|
13b699e04a
|
Fix 2 phpstan errors in libraries/classes/Import.php
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2020-03-18 12:18:53 +01:00 |
|
William Desportes
|
01cd7dc33b
|
Some code improvements suggested by Scrutinizer
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2020-02-14 22:23:16 +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
|
6b7af13f8f
|
Reference global funcs and consts via use statement
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2020-01-23 00:33:24 -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
|
c231652c67
|
Remove useless comments in PHP docs
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2020-01-20 14:38:49 -03:00 |
|
Maurício Meneghini Fauth
|
8ec4209002
|
Fix some coding standard issues
- Inverts yoda comparisons
- Removes parentheses from return
- Removes useless ternary operators
- Adds paretheses to new instances
- Adds trailing array comma
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2020-01-20 00:38:34 -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
|
249ee4dbd2
|
Improve JS and phpdoc by removing useless spaces
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2020-01-16 18:39:42 +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
|
dd2b05330a
|
Remove useless parentheses
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2019-12-12 00:18:01 -03:00 |
|
William Desportes
|
5f13152857
|
Fix some PHPStan level 3 errors
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2019-12-06 09:02:41 +01:00 |
|