* Integrate PHP CS Fixer into drone
* Fix code base
* more verbose
* Ignore psr12 scripts
* Test
* revert
* Ignore also rebase script
* Align array and variable declarations
* Merges
* Fix the no break comment starting with upper case
* Fix alignment in arrays
* Article controller alignment
Implemented pausing mechanisms into cli/finder_indexer.php.
The reason for that is, that with thousands of articles or K2 items, the server would often become unresponsive, because of a lot of processing and IO/WAiT on the mysql server.
This patch implements a pausing mechanism that pauses for a defined or dynamically adjusted amount of time between batches, therefore giving the server a little time to catch up.
* [4.0] qn codestyle
All new code is being forced to follow the codestyle and not to use $q or $qn
This pr updates all the remaining instances in core
code review
* drone
* drone again
* revert changes in debug.php
* Merge some unset()
* Lots of work on the indexer itself:
- Type safe comparisons
- a few simplifications
- a few performance optimizations
* Some Elvis's and a missing @since annotation
* One more StringHelper...
* Codestyle...
* Not to potentially break BC, reversed back to `!empty($var)` operation but with the non inverted style `(bool) $var`
* Formatting
* Fix formatting
* Revert this change for now. Look into it later again.
* Codesniffer...
* Removed repeated `use`
* Some extra work according to @andrepereiradasilva's notes
* Additional changes according to reviewer's comments
* Code style
* Fix misbehavior due to not correctly handling the single object case of mixed variable (array|object)
* Pass float value to db->escape as float may produce problems for some locales.
* "Make values float again" - (pun intended)
* Split the configuration of the session service on a per-application basis, restructure session GC command
* Make a session factory, move handler creation into it
* Expand comments on session service key aliasing
* Apparently this is our PHPCS style?
* Change to a less than readable variant of the signature because our PHPCS rules suck
* Fix container reference
* PHPCS fixes
* Inject Session class options into factory, validate option presence
* Session garbage collection plugin
* Session metadata manager
* Expand metadata manager to allow all apps, CLI for metadata cleaner
* Move metadata cleanup to the plugin
* Misc fixes from feedback
* Language tweaks
* Change to uint filter, if it'll get people to review and accept the damn PR...
I was looking at the CLI scripts and wasn't sure what these two did as they had no description. Eventually I saw the description lower down the file. To make it easier for others I copied the description to the top (as with the other CLI scripts)