Kamil Tekiela
|
384f47ffc8
|
Remove __('Options')
It was not used anywhere.
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
|
2026-02-26 00:24:47 +00:00 |
|
Kamil Tekiela
|
bb3855bbe4
|
Remove $pluginName . '_' .
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
|
2026-02-26 00:21:46 +00:00 |
|
Kamil Tekiela
|
e1af783d58
|
Fix group header's IDs
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
|
2026-02-26 00:21:46 +00:00 |
|
Maurício Meneghini Fauth
|
270ada1198
|
Extract Config dependency from export plugins
Uses DI instead.
Signed-off-by: Maurício Meneghini Fauth <mauricio@mfauth.net>
|
2026-01-29 12:31:07 -03:00 |
|
Maurício Meneghini Fauth
|
d617866e49
|
Extract DatabaseInterface dep from export plugins
Uses DI instead.
Signed-off-by: Maurício Meneghini Fauth <mauricio@mfauth.net>
|
2026-01-29 11:49:19 -03:00 |
|
Maurício Meneghini Fauth
|
19024e17d1
|
Remove properties from Plugins\Export test classes
Adds a factory for the class being tested.
Signed-off-by: Maurício Meneghini Fauth <mauricio@mfauth.net>
|
2026-01-29 11:29:05 -03:00 |
|
Kamil Tekiela
|
fb0401e94f
|
Use Settings Export
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
|
2026-01-17 16:01:21 +00:00 |
|
Kamil Tekiela
|
51569eb644
|
Create InsufficientSpaceExportException
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
|
2026-01-15 21:28:53 +00:00 |
|
Kamil Tekiela
|
59aed69062
|
Split up long lines
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
|
2025-11-22 20:08:57 +00:00 |
|
Kamil Tekiela
|
f89bfd594a
|
Replace Export with OutputHandler
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
|
2025-11-22 20:03:59 +00:00 |
|
Kamil Tekiela
|
13b34aa471
|
OutputHandler
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
|
2025-11-22 20:03:59 +00:00 |
|
Kamil Tekiela
|
d40c190742
|
Fix unit tests
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
|
2025-11-21 21:03:11 +00:00 |
|
Maurício Meneghini Fauth
|
37cbc4b3f3
|
Extract dependencies from Transformations class
Signed-off-by: Maurício Meneghini Fauth <mauricio@mfauth.net>
|
2025-06-21 14:39:37 -03:00 |
|
Maurício Meneghini Fauth
|
ce275e1f6b
|
Remove the save_filename global variable
Replaces it with Export::$saveFilename static property.
Signed-off-by: Maurício Meneghini Fauth <mauricio@mfauth.net>
|
2025-01-10 16:02:00 -03:00 |
|
Maurício Meneghini Fauth
|
4f4f31e7e9
|
Remove the file_handle global variable
Replaces it with Export::$fileHandle static property.
Signed-off-by: Maurício Meneghini Fauth <mauricio@mfauth.net>
|
2025-01-09 16:44:30 -03:00 |
|
Maurício Meneghini Fauth
|
ae305d6202
|
Remove the output_kanji_conversion global variable
Replaces it with Export::$outputKanjiConversion static property.
Signed-off-by: Maurício Meneghini Fauth <mauricio@mfauth.net>
|
2025-01-08 02:50:25 -03:00 |
|
Maurício Meneghini Fauth
|
b3df04bcf8
|
Remove the buffer_needed global variable
Replaces it with Export::$bufferNeeded static property.
Signed-off-by: Maurício Meneghini Fauth <mauricio@mfauth.net>
|
2025-01-08 02:26:18 -03:00 |
|
Maurício Meneghini Fauth
|
716c4bb9d3
|
Remove the output_charset_conversion global variable
Replaces it with Export::$outputCharsetConversion static property.
Signed-off-by: Maurício Meneghini Fauth <mauricio@mfauth.net>
|
2025-01-08 02:12:09 -03:00 |
|
Maurício Meneghini Fauth
|
0958b972c9
|
Remove the save_on_server global variable
Replaces it with Export::$saveOnServer static property.
Signed-off-by: Maurício Meneghini Fauth <mauricio@mfauth.net>
|
2025-01-08 01:47:43 -03:00 |
|
Maurício Meneghini Fauth
|
aad57a864b
|
Remove the asfile global variable
Replaces it with Export::$asFile static property.
Signed-off-by: Maurício Meneghini Fauth <mauricio@mfauth.net>
|
2025-01-08 00:27:45 -03:00 |
|
Maurício Meneghini Fauth
|
6e8e98cdc0
|
Remove csv_* global variables
Signed-off-by: Maurício Meneghini Fauth <mauricio@mfauth.net>
|
2025-01-04 00:55:34 -03:00 |
|
Maurício Meneghini Fauth
|
5548f8fe5b
|
Replace lang global var with Current::$lang prop
Signed-off-by: Maurício Meneghini Fauth <mauricio@mfauth.net>
|
2024-12-24 12:01:03 -03:00 |
|
Kamil Tekiela
|
8015e4de72
|
Move DatabaseInterface to Dbal
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
|
2024-12-22 18:34:53 +00:00 |
|
Maurício Meneghini Fauth
|
159082f283
|
Remove what global variable
Signed-off-by: Maurício Meneghini Fauth <mauricio@mfauth.net>
|
2024-12-17 14:01:30 -03:00 |
|
Kamil Tekiela
|
b3ffcc6d6c
|
Remove $exportType param from Export
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
|
2024-12-14 02:18:02 +00:00 |
|
Kamil Tekiela
|
24fba67ccd
|
Create ExportType enum
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
|
2024-12-14 00:34:12 +00:00 |
|
Kamil Tekiela
|
0131d59250
|
Drop $errorUrl from exportData
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
|
2024-12-12 22:08:58 +00:00 |
|
Kamil Tekiela
|
82c85d26c0
|
Clean up of tests (#19067)
* Fix wrong type hint
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
* Use $this instead of parent
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
* setUp should be a protected method
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
* onNotSuccessfulTest should be protected
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
* $command doesn't need to be a property
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
* Give alertText() proper return type
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
* Use null-safe operator
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
* Call Message static constructors statically
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
* Call StorageEngine methods statically
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
* Add better type hints in PrivilegesController
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
* Use packed (without keys) arrays in tests
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
* Use type casts instead of function casts
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
* Use const instead of private property
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
* Use const instead of private property
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
* Fix testAuthFailsTooLongPass()
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
* Replace loop with array_shift
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
* Use ob_get_clean
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
* Remove duplicated code
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
* Use assert instead of phpdoc
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
---------
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
|
2024-03-20 13:34:55 -03:00 |
|
Kamil Tekiela
|
8754b9b0c5
|
Fix PHPUnit 11 deprecations (#19057)
* Metadata in doc-comments is deprecated
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
* Fix deprecated Group('medium') on classes
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
* Fix #[Group('large')]
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
* Fix some #[Group('medium')]
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
* Replace getMockForAbstractClass in NodeDatabaseChildTest
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
* Replace getMockForAbstractClass in PropertyItemTest
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
* Replace getMockForAbstractClass in OptionsPropertyGroupTest
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
* Replace getMockForAbstractClass in PluginPropertyItemTest
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
* Replace getMockForAbstractClass in GisGeometryTest
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
* Remove getMockForAbstractClass from StorageEngineTest
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
* Replace getMockForAbstractClass in OptionsPropertyOneItemTest
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
* Replace getMockForAbstractClass in OptionsPropertyItemTest
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
* Update psalm-baseline.xml
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
---------
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
|
2024-03-17 13:35:28 -03:00 |
|
Maurício Meneghini Fauth
|
606f66b5df
|
Rename tests/classes to tests/unit
This directory is for unit tests only, so let's rename it to unit to be
more clear.
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2024-02-23 13:29:07 -03:00 |
|