Jakub Vrana
ab4208dcb8
Doc-comments: Declare type properties
2025-03-28 12:45:02 +01:00
Jakub Vrana
5e88dae4e2
Doc-comments: Format
2025-03-28 12:45:02 +01:00
Jakub Vrana
45c045382a
Doc-comments: Move return types to declaration
2025-03-28 12:45:02 +01:00
Jakub Vrana
641ee4ff26
Doc-comments: Move param types to declaration
2025-03-28 12:45:02 +01:00
Jakub Vrana
911f3b71b7
Doc-comments: Add param names
2025-03-28 12:45:02 +01:00
Jakub Vrana
104132de36
Fix errors discovered by tests
2025-03-27 21:05:31 +01:00
Jakub Vrana
4d22e8fd4e
PostgreSQL: Fix PHP warning when creating new routine
2025-03-27 18:56:10 +01:00
Jakub Vrana
a2ff6a7fb1
PostgreSQL: Unuse deleted fetch_field
2025-03-27 18:47:05 +01:00
Jakub Vrana
b23bf6c055
PHPStan: Fix more errors
2025-03-27 18:39:48 +01:00
Jakub Vrana
e2deed9a02
Use common parent for Db
2025-03-27 18:39:47 +01:00
Jakub Vrana
0578b5c490
JS: Add 'use strict'
2025-03-27 10:27:46 +01:00
Jakub Vrana
81ae16bce1
JS: Remove forgotten log
2025-03-27 07:23:34 +01:00
Jakub Vrana
d3b53d9d9c
PHPStan: Fix level 6 errors
2025-03-26 21:54:00 +01:00
Jakub Vrana
c96894ecd4
PHPStan: Fix level 5 errors
2025-03-26 19:29:50 +01:00
Jakub Vrana
c78299a3f6
PHPStan: Fix level 4 errors
2025-03-26 18:32:45 +01:00
Jakub Vrana
d77ed18842
Separate queries(null)
2025-03-26 17:04:30 +01:00
Jakub Vrana
309fdb0d86
PHPStan: Fix level 3 errors
2025-03-26 16:57:58 +01:00
Jakub Vrana
7e5757f8b4
PHPStan: Fix level 2 errors
2025-03-26 16:22:15 +01:00
Jakub Vrana
d39cc24c61
PHPStan: Fix level 1 errors
2025-03-26 13:49:11 +01:00
Jakub Vrana
3de9b23156
PHPStan: Use @return void
...
PHPStan then warns abouts using the return value
2025-03-26 13:14:12 +01:00
Jakub Vrana
63c258a7f9
PHPStan: Fix level 0 errors
2025-03-26 13:14:10 +01:00
Jakub Vrana
f75f0aacfe
SQLite: Fix non-PDO driver after 99163fe
2025-03-26 11:39:06 +01:00
Jakub Vrana
a60e00bf72
Use Adminer\Plugins
2025-03-26 11:10:37 +01:00
Jakub Vrana
6e7158537f
Add comment
2025-03-26 10:25:13 +01:00
Jakub Vrana
c5f87110ff
Notices: Use idx()
2025-03-26 10:21:36 +01:00
Jakub Vrana
1a2ae0e29e
AdminerDarkSwitcher: Work with compiled version (bug #926 )
2025-03-26 07:28:47 +01:00
Jakub Vrana
1b8a428d2f
Notices: Avoid accessing offset on null
...
Thanks to @peterpp at 62017e3
.
2025-03-26 07:20:10 +01:00
Jakub Vrana
012562571a
MySQL: Simplify condition in fk_support
2025-03-26 03:29:22 +01:00
Jakub Vrana
41aad5bc37
Doc-comment: Use type aliases for arrays
...
Type aliases could be defined either globally (https://phpstan.org/writing-php-code/phpdoc-types#global-type-aliases ) or just for a class.
I prefer having them at the place where they are created.
2025-03-26 02:43:08 +01:00
Jakub Vrana
cd5ccddd22
Display error for invalid table
2025-03-26 01:37:53 +01:00
Jakub Vrana
cccc784da4
Always return array from table_status()
2025-03-26 01:34:48 +01:00
Jakub Vrana
cd207238b7
Move icons to CSS
2025-03-26 00:08:16 +01:00
Jakub Vrana
67fa4c2a6f
Schema: Move style to CSS
2025-03-25 22:35:31 +01:00
Jakub Vrana
eac7d042ed
Avoid <optgroup> in <datalist>
2025-03-25 22:04:19 +01:00
Jakub Vrana
a2077070af
CSS: Invert icons in dark mode
2025-03-25 21:47:25 +01:00
Jakub Vrana
26adca1003
Simplify designs.php
2025-03-25 21:10:02 +01:00
Jakub Vrana
db0e44221b
Doc-comments: Use special PHPStan types
2025-03-25 15:18:47 +01:00
Jakub Vrana
01e2fe4234
Doc-comments: Use array shapes in @return
...
This uses https://phpstan.org/writing-php-code/phpdoc-types#array-shapes
I'm not going to do this in @param, it would be better to use https://phpstan.org/writing-php-code/phpdoc-types#global-type-aliases
2025-03-25 15:08:13 +01:00
Jakub Vrana
4d2b5144b1
Doc-comments: Improve array @var
2025-03-25 14:41:26 +01:00
Jakub Vrana
2ee325183b
Doc-comment: Improve array @param
...
This uses syntax from https://phpstan.org/writing-php-code/phpdoc-types#general-arrays .
int[] means an array of ints with arbitrary keys (usually strings)
list<string> means an array of strings with sequential integer keys starting at 0
list<string>[] means an arbitrary array of string lists
list<string[]> means list of arbitrary string arrays
string[][] means two dimensional array with arbitrary keys in both dimensions
array was left in the comments for https://phpstan.org/writing-php-code/phpdoc-types#array-shapes
2025-03-25 14:31:27 +01:00
Jakub Vrana
26aa48122f
Doc-comments: Improve array @return
2025-03-25 13:27:54 +01:00
Jakub Vrana
19b7358452
AdminerSqlGemini: Highlight button
2025-03-25 07:33:30 +01:00
Jakub Vrana
a1080ea8dc
JS: Simplify SubmitHighlight
2025-03-25 07:03:42 +01:00
Jakub Vrana
2c72b879e9
Simplify saving flavor
2025-03-25 06:15:09 +01:00
Jakub Vrana
b13c76149f
Add comment
2025-03-25 06:08:54 +01:00
Jakub Vrana
5dea23a07a
Develop
2025-03-24 17:36:47 +01:00
Jakub Vrana
99a0949d2a
Release 5.1.0
2025-03-24 17:35:22 +01:00
Jakub Vrana
1cf5a91d98
Export: Use output buffering
2025-03-24 17:28:53 +01:00
Jakub Vrana
88821a5780
Move beforeunload to plugin
2025-03-24 16:55:40 +01:00
Jakub Vrana
078a8b3d6b
Improve handling of translations with '
2025-03-24 15:57:46 +01:00