Commit Graph

25 Commits

Author SHA1 Message Date
Michael Voříšek
6a53a1d853 Fix CS (whitespace, visibility) (#9297)
* Fix "method_argument_space"

* Fix "control_structure_continuation_position"

* Fix "new_with_parentheses"

* Fix "blank_line_before_statement"

* Fix "visibility_required"

* Fix some "array_indentation"

* Fix some "array_indentation" - unify all "rcube::raise_error" calls

* rm useless eslint ignores and add rules counts

* sort eslint ignores

* fix eslint ignores grammar

* Revert "Fix "blank_line_before_statement""

* fix CS 3.46.0
2024-01-04 14:26:35 +01:00
Michael Voříšek
2643be3eaa Fix single quotes CS (#9283)
* Fix "single_quote"

* fix "escape_implicit_backslashes"

* fix typo from f363481c

* fix single quotes in JS

* fix some minor JS CS

* fix CS v3.45.0
2023-12-31 16:36:55 +01:00
Michael Voříšek
28c778b7a0 Modernize more CS III (#9270)
* fix "single_trait_insert_per_statement"

* fix "empty_loop_condition"

* fix "backtick_to_shell_exec"

* fix "phpdoc_to_comment"

* fix "no_empty_statement"

* fix "heredoc_to_nowdoc"

* fix "class_reference_name_casing"

* fix "align_multiline_comment"

* fix "heredoc_indentation"

* fix "constant_case"

* fix "single_line_comment_style"

* fix "no_null_property_initialization"

* fix "standardize_increment"

* fix "no_unneeded_control_parentheses"

* fix missing NL after "<?php"

* fix php in *.sh files too

* fix trailing spaces from all text files

* fix "explicit_indirect_variable"

* Revert "fix "align_multiline_comment""

This reverts commit 42e584f8e3.

* fix "align_multiline_comment" properly

* Revert "fix trailing spaces from all text files" - diff files only

* Revert "Revert "fix trailing spaces from all text files" - diff files only"

This reverts commit 2101c2a3a3.

* rm useless "setup-php" config
2023-12-18 07:46:51 +01:00
Aleksander Machniak
22e3373493 Fix PHP warning in bin/updatedb.sh 2022-07-01 18:51:55 +02:00
Aleksander Machniak
61a5ade872 PHP8 fixes, short array syntax 2020-12-12 16:20:14 +01:00
Aleksander Machniak
8e63309203 CS fixes, tabs to spaces 2019-06-15 08:56:35 +02:00
Aleksander Machniak
57c67db029 Remove year(s) from copyright headers + some cleanup 2019-04-16 10:42:45 +02:00
Aleksander Machniak
e7620812b0 Installer: Remove system() function use (#1490139)
Move some functionality of scripts from bin/ into rcmail_utils class
2015-04-12 09:24:25 +02:00
Aleksander Machniak
0ea079d604 dirname(__FILE__) -> __DIR__ 2014-10-13 14:41:55 +02:00
Aleksander Machniak
34a0902089 Use consistent column/table quoting in sql queries 2014-09-12 14:37:51 +02:00
Aleksander Machniak
29c24e647c Get rid of DIRECTORY_SEPARATOR for consistency 2014-08-28 19:24:03 +02:00
Aleksander Machniak
d0aef23ba9 Support sql_debug option here 2014-04-29 11:44:58 +02:00
Aleksander Machniak
90f7aa9e39 Fix varius db_prefix issues (#1489839)
- Move DDL script execution code to rcube_db class(es).
- Improve prefix replacement code, so index names are also modified
2014-04-29 11:34:43 +02:00
Aleksander Machniak
20334a333d Update releases list 2013-09-13 08:31:46 +02:00
Aleksander Machniak
399db1b647 Add db_prefix configuration option in place of db_table_*/db_sequence_* options
Make possible to use db_prefix for schema initialization in Installer (#1489067)
Fix updatedb.sh script so it recognizes also table prefix for external DDL files
2013-04-27 18:31:40 +02:00
Aleksander Machniak
f23ef1c968 Fix error handling in CLI mode, use STDERR and non-empty exit code (#1489043) 2013-04-26 11:26:58 +02:00
Aleksander Machniak
c2c1bba9a2 Update releases list 2013-03-29 08:51:42 +01:00
Thomas Bruederli
15e4c89ce6 Consider alternative table names from config when running DB updates 2013-03-21 14:58:43 +01:00
Aleksander Machniak
9e46fb535d Fix typo in DB version strings (there should be no .sql suffix) 2013-02-19 14:27:26 +01:00
Aleksander Machniak
c101871d46 Add and use db_table_system config option 2013-01-16 12:30:15 +01:00
Aleksander Machniak
9e329c0a27 Renamed option updatedb.sh --label to --package 2013-01-16 12:24:05 +01:00
Aleksander Machniak
c3d061893b Don't attempt to write to 'system' table if it doesn't exist 2013-01-14 10:06:12 +01:00
Aleksander Machniak
9be085b2f3 Don't attempt to read system table if it doesn't exist 2013-01-14 08:47:21 +01:00
Aleksander Machniak
7e7431bdda Use updatedb.sh from update.sh + various fixes in updatedb.sh 2013-01-09 19:21:58 +01:00
Aleksander Machniak
b7e7c8f950 Added new database upgrade script, converted DDL scripts to new format 2013-01-09 15:57:29 +01:00