Maurício Meneghini Fauth
585fdaea5a
Fix PHP doc spacing and order
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev >
2020-01-20 18:07:37 -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
f76499af7f
Use Throwable instead of Exception
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev >
2020-01-20 01:16:40 -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
Maurício Meneghini Fauth
63dbcd01d9
Remove or ignore side effects in PHP files
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev >
2020-01-19 20:22:37 -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
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
Maurício Meneghini Fauth
88c28f095a
Fix some errors detected by PHPStan
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev >
2019-08-01 19:04:27 -03:00
Hugues Peccatte
0d8f6a3a93
Merge isset and unset calls
...
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com >
2019-07-16 23:21:25 -03:00
Hugues Peccatte
68b88d0537
Remove useless variables before return
...
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com >
2019-01-12 01:33:22 +01:00
Maurício Meneghini Fauth
23c3579804
Format array declarations
...
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com >
2019-01-07 14:31:39 -02: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
999b4d14f0
Fix some coding standard errors
...
- Fixes array identation
- Removes empty statements
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com >
2019-01-05 21:25:08 -02:00
Maurício Meneghini Fauth
9eba565bf4
Remove unnecessary HTML closing tags
...
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com >
2018-12-19 00:12:54 -02:00
Maurício Meneghini Fauth
2d58411bee
Some coding style fixes
...
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com >
2018-06-18 21:30:06 -03:00
Maurício Meneghini Fauth
b9c0463d96
Use short array syntax instead of long array syntax
...
Replaces array() with [].
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com >
2018-05-30 01:42:21 -03:00
Maurício Meneghini Fauth
af148ad92b
Enable strict mode in PHP files
...
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com >
2018-05-16 04:36:04 -03:00
Maurício Meneghini Fauth
c65e9c330e
Remove @ operator from ini_set()
...
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com >
2018-03-01 22:36:35 -03:00
Maurício Meneghini Fauth
01fd301003
Use 'elseif' keyword istead of 'else if'
...
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com >
2017-12-04 13:31:25 -02:00
Michal Čihař
aa1cb197f5
Merge branch 'QA_4_7'
2017-10-20 11:25:28 +02:00
Michal Čihař
f2dcdfff50
Do not hardcode secure flag in examples
...
We can not assume that setup will be https by default, so having false
as default is safer.
Fixes #13758
Signed-off-by: Michal Čihař <michal@cihar.com >
2017-10-20 11:24:00 +02:00
Michal Čihař
4dde55b10c
Change example script to use cookies for session
...
Issue #13630
Signed-off-by: Michal Čihař <michal@cihar.com >
2017-09-28 16:02:26 +02:00
Maurício Meneghini Fauth
9028055d8b
Fix some coding standard errors in DocBlocks
...
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com >
2017-04-10 18:36:02 -03:00
Michal Čihař
1b7914a4e5
Remove connect_type setting
...
It is really not necessary as MySQL decides connection type rather based
on hostname than on anything else.
Signed-off-by: Michal Čihař <michal@cihar.com >
2017-02-02 16:08:44 +01:00
Michal Čihař
aebbb31aad
Merge branch 'master' into master-security
2016-07-29 14:08:23 +02:00
Michal Čihař
c328697e39
Do not use mb_strlen result for string indexes
...
The string indexes are in bytes, while mb_strlen counts chars.
Issue #12397
Signed-off-by: Michal Čihař <michal@cihar.com >
2016-07-29 13:54:04 +02:00
Michal Čihař
8095b837fa
Hide session error messages to avoid FPD
...
Signed-off-by: Michal Čihař <michal@cihar.com >
2016-07-12 12:38:32 +02:00
Michal Čihař
fc6ef261eb
Remove Swekey support
...
It is buggy and their servers are no longer working.
Signed-off-by: Michal Čihař <michal@cihar.com >
2016-07-11 09:02:58 +02:00
Isaac Bennetch
c4a595357f
Add Secure and HttpOnly flags for session cookie setup in examples
...
Signed-off-by: Isaac Bennetch <bennetch@gmail.com >
2016-07-10 22:35:38 -04:00
Michal Čihař
791bdafcdd
Merge branch 'QA_4_6-security' into master-security
2016-06-17 16:24:39 +02:00
Michal Čihař
418aeea3d8
Add error handling to constructing openid message
...
Signed-off-by: Michal Čihař <michal@cihar.com >
2016-06-17 14:34:50 +02:00
Michal Čihař
94cf386425
Escape error messages from OpenID
...
Signed-off-by: Michal Čihař <michal@cihar.com >
2016-06-17 14:30:36 +02:00
Michal Čihař
27664605b9
Improve error handling in OpenID example
...
- properly check parameter types
- catch all exceptions (eg. network error)
Signed-off-by: Michal Čihař <michal@cihar.com >
2016-06-17 14:26:59 +02:00
Michal Čihař
95f2d15b4f
Merge branch 'QA_4_6'
2016-05-17 10:12:04 +02:00
Michal Čihař
3771852471
Use https when linking to php.net
...
Signed-off-by: Michal Čihař <michal@cihar.com >
2016-05-17 10:10:13 +02:00
chintan zaveri
2b74163914
Removal of Swekey
...
Signed-off-by: Chintan Zaveri <zaveri_chintan@rediff.com >
master rebased
Signed-off-by: Chintan Zaveri <zaveri_chintan@rediff.com >
2016-02-20 21:41:07 +05:30
Michal Čihař
55b317c699
Remove /*overload*/ prefix from mb_* calls
...
I believe this was temporary flagging to see which code is migrated and
can be safely removed now.
Signed-off-by: Michal Čihař <michal@cihar.com >
2016-01-04 16:35:28 +01:00
Marc Delisle
66c15daba0
Remove some unnecessary string concatenations
...
https://github.com/dseguy/clearPHP/blob/master/rules/no-unnecessary-string-concatenation.md
Signed-off-by: Marc Delisle <marc@infomarc.info >
2015-12-06 08:01:07 -05:00
Marc Delisle
357b1b4757
Remove some unnecessary string concatenations
...
https://github.com/dseguy/clearPHP/blob/master/rules/no-unnecessary-string-concatenation.md
Signed-off-by: Marc Delisle <marc@infomarc.info >
2015-12-04 09:05:42 -05:00
Madhura Jayaratne
8c6261c73f
Underscores are preferred to separate words in configuration storage table names/directives
...
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com >
2015-07-09 17:06:28 +05:30
Madhura Jayaratne
545db4a443
rfe #812 store export definitions for reuse
...
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com >
2015-07-02 21:03:57 +05:30
Michal Čihař
b39cb1cb81
Merge remote-tracking branch 'origin/QA_4_4'
2015-07-02 13:40:23 +02:00
Michal Čihař
a6fd4c2ed4
Cleanup URLs to our website
...
- use https everywhere
- follow redirects on renamed pages
Signed-off-by: Michal Čihař <michal@cihar.com >
2015-07-02 13:39:10 +02:00
Deven Bansod
54a480e8eb
Designer settings saved in a new table in configuration storage
...
Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com >
2015-06-21 15:44:39 +05:30
Marc Delisle
775d1dca70
Best practice: remove PHP closing tag
...
Signed-off-by: Marc Delisle <marc@infomarc.info >
2015-04-24 11:33:29 -04:00
Madhura Jayaratne
1b87db5724
bug #4675 phpMyAdmin should be able to work without 'examples' DIR - move SQL scripts to sql directory
...
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com >
2014-12-30 22:55:33 +05:30
Hugues Peccatte
3de88162ff
Replace PMA_String uses by mb_* calls.
...
Remove part of unused variables.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com >
2014-09-28 20:53:01 +02:00
Hugues Peccatte
9b77d746ab
Mass modifications to use PMA_String.
...
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com >
2014-09-06 10:44:03 +02:00
Chirayu Chiripal
0906f78fab
Suggest ALTER rights on phpmyadmin for controluser
...
Signed-off-by: Chirayu Chiripal <chirayu.chiripal@gmail.com >
2014-07-14 18:20:24 +05:30
Chirayu Chiripal
1f324be4b1
RFE-637: Custom field handlers (input transformations)
...
Signed-off-by: Chirayu Chiripal <chirayu.chiripal@gmail.com >
2014-07-12 01:52:32 +05:30