Commit Graph

22 Commits

Author SHA1 Message Date
Maurício Meneghini Fauth
1a14b3e4d3 Remove vim modelines
These settings are no longer required as they are guaranteed through
other coding standard tools.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-09-02 09:43:21 -03:00
William Desportes
6cc352ac12
phpstan level 3 fixes
21 errors left

Signed-off-by: William Desportes <williamdes@wdes.fr>
2019-06-22 14:37:38 +02:00
Maurício Meneghini Fauth
2906fb0e26 Replace sizeof function alias with count
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-06-12 13:48:59 -03:00
William Desportes
1ee4074de8
Merge branch 'QA_4_8'
Signed-off-by: William Desportes <williamdes@wdes.fr>
2019-03-02 20:24:02 +01:00
Kartik Kathuria
f26ff98c92 Replaced with Appropriate Comment
Signed-off-by: Kartik Kathuria <kathuriakartik0@gmail.com>
2019-03-01 15:07:28 +05:30
Kartik Kathuria
b1f4a5ecb9 FixError#14870 Now Zip files display correct date and time
Signed-off-by: Kartik Kathuria <kathuriakartik0@gmail.com>
2019-02-18 23:02:52 +05:30
Hugues Peccatte
4321120b80 Fix PHPCS issue
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2019-01-21 12:27:26 +01:00
Hugues Peccatte
f06883d2a7 Remove useless parenthesis
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2019-01-20 01:23:53 +01:00
Maurício Meneghini Fauth
4cee0cbc12 Adds space after not (!) and type cast
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2019-01-05 21:56:34 -02:00
Maurício Meneghini Fauth
6cf8ee0831 Enable strict mode in some classes
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2018-05-15 01:03:57 -03:00
Maurício Meneghini Fauth
69def191d3 Fix cases where $name is an array in createFile
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2018-03-30 17:03:39 -03:00
Lakshay arora
8e48a0c4f2 Fix for "Export tables as seperate files", #14080
Applied code sniffer.

Fix #14080
Close #14115

Signed-off-by: Lakshay arora <carefreelakshay97@gmail.com>
2018-03-30 03:26:47 -03:00
Maurício Meneghini Fauth
bae0431dfb Refactor PhpMyAdmin\ZipExtension class
Replace static methods with instance methods.

Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2018-02-14 01:58:58 -02:00
Maurício Meneghini Fauth
3d44419cbd Use lowercase for PHP booleans and null
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-12-04 13:14:40 -02:00
Michal Čihař
3c7362c739 Stricten typechecking of parameters
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-08-01 13:46:00 +02:00
Michal Čihař
46e82fef4f Optimize zip creation a bit
Avoid constructing temporary strings and concatenating them, create each
record at once.

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-08-01 13:26:33 +02:00
Michal Čihař
c67e83a57c Fixed creating zip file with single entry
And add tests to cover that.

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-08-01 13:26:26 +02:00
Michal Čihař
1c166aef3a Fix creating single file zip
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-08-01 13:05:06 +02:00
Michal Čihař
b3cd03d4f9 Fix handling of string parameter
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-08-01 09:37:56 +02:00
Maurício Meneghini Fauth
95a409c4f2 Move controllers to PhpMyAdmin namespace
- Move base controllers to PhpMyAdmin namespace
- Move database controllers to PhpMyAdmin namespace
- Move server controllers to PhpMyAdmin namespace
- Move table controllers to PhpMyAdmin namespace

Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-07-14 11:18:48 -03:00
Aron Bergman
dd73e321e3 Refractor ZipExtension to use ZipArchive
ZipExtension is now using ZipArchive instead of zip_* functions.
Replaced getError with ZipArchive::getStatusString.
The documentation for the file has been refractored.
ZipExtension now includes ZipFile functionality, and thus ZipFile is removed.

See issue #13365

Signed-off-by: Aron Bergman <bathingrad@gmail.com>
2017-07-10 09:39:37 +02:00
Maurício Meneghini Fauth
42bfa9c42d Move classes to PhpMyAdmin namespace
- Move ZipExtension to PhpMyAdmin namespace
- Move ZipFile to PhpMyAdmin namespace

Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-07-01 10:49:53 -03:00