1
0
قرینه از https://github.com/matomo-org/matomo.git synced 2025-08-22 06:57:53 +00:00
Files
Nathan Gavin ff9e7ac212 Provide task to find/purge broken archives (#23421)
* Add core functionality to purge broken archives

* Add dummy archives to test broken archives purger

* Optimise SQL query

* Add cli for purging broken archives

* PHPCS fix

* PHPCS fix

* implement tests covering new cli

* Fill out cli tests

* PHPCS fix

* Update tests

* clean up some code, use array shorthand

* Use Month period rather than Dates

* Update tests to work with Month period

* clean up unused code

* remove unnecessary today variable for tests

* PHPCS fix

* Fix emergent issues from using Date:: in tests

* add early return

* simplify flow by removing unnecessary try catch

* Update cli command to use Months

* fix task test broken by new task

* fix phrasing on command messages

* Add check for month formatting on cli

* clean up

* PHPCs

* replace wrong variable

---------

Co-authored-by: Michal Kleiner <michal@innocraft.com>
2025-07-23 08:35:22 +12:00
..