Michael Voříšek
d18406a8bd
Fix binary operator spaces CS ( #9330 )
* align_single_space_minimal for assign
* assign operators grouping is not supported by PHP CS Fixer
* binary_operator_spaces = single_space
* fix anonymous function on single line
* align comments manually
2 years ago
Michael Voříšek
4ee79b9e84
fix "explicit_string_variable" ( #9315 )
2 years ago
Michael Voříšek
54f4aa33f9
Fix CS - imports ( #9316 )
* fix Tests\Browser\TestCase imports
* fix remaining imports
* fix PHPUnit\Framework\TestCase imports
* import GuzzleHttp\Client
* fix remaining
* "php_unit_method_casing" is not todo
* fix "single_line_comment_spacing"
* fix 2nd commit done using older fixer
2 years ago
Michael Voříšek
b1a0067e5d
Fix more CS ( #9303 )
* fix "class_attributes_separation"
* fix "ternary_to_null_coalescing"
* fix "no_extra_blank_lines"
* fix "php_unit_data_provider_name" - use snake_case
* fix remaining "function data_" manually
* move "php_unit_test_case_static_method_calls" to a better place in cnf
* fix 3.47.1 CS
2 years ago
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
2 years ago
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
2 years ago
Michael Voříšek
3e458fa5fd
Refer native constants unambiguously ( #9275 )
* Fix "native_constant_invocation" CS
* "self_accessor" was fixed in 9269 PR
* "php_unit_strict" was fixed in 9268 PR
2 years ago
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
2 years ago
Aleksander Machniak
6ad98e7b1b
Fix TinyMCE localization installation ( #9266 )
2 years ago
Aleksander Machniak
822cdf915b
Remove redundant code
2 years ago
Aleksander Machniak
ed73265c76
Create rcmail_install::unzip() and simplify code
2 years ago
Philip Weir
fe885b4d64
Support PHP Zip extension and 7z for jsdeps install ( #8935 )
* support PHP Zip extension for jsdeps install
* support 7z for jsdeps install
2 years ago
johndoh
cfd4fa170f
Fix a few PHP notices ( #7791 )
5 years ago
Aleksander Machniak
61a5ade872
PHP8 fixes, short array syntax
5 years ago
Aleksander Machniak
36532345df
Make install-jsdeps.sh script working without the 'file' program installed ( #7325 )
5 years ago
Aleksander Machniak
04aff2efa3
Fix so install-jsdeps.sh removes Bootstrap's sourceMappingURL ( #7035 )
6 years ago
Aleksander Machniak
037bc3c94f
Fix code indentation
6 years ago
Aleksander Machniak
57c67db029
Remove year(s) from copyright headers + some cleanup
6 years ago
Aleksander Machniak
9ab932d9ba
Remove redundant "ERROR: " prefix
6 years ago
Aleksander Machniak
2f05533710
Small code improvements
6 years ago
Laurent Declercq
ae59269f27
Make use of rcube::raise_error() function for error handling in bin/install-jsdeps.sh ( #6704 )
6 years ago
Aleksander Machniak
5ce5f9a8bc
Use Github API as a fallback to fetch js dependencies to workaround throttling issues ( #6248 )
7 years ago
Aleksander Machniak
264da42fa5
Use 0775 permission, it's needed for e.g. skins/elastic/deps folder
8 years ago
Aleksander Machniak
4a7603a207
Install Bootstrap and LessJS with install-jsdeps.sh
8 years ago
Aleksander Machniak
3f6ca2cffc
Add --get and --extract arguments and CACHEDIR env-variable support to install-jsdeps.sh ( #5882 )
8 years ago
Kai Ren
9a6ab3dc86
Fix absent directory error in `install-jsdeps.sh` when processing `maps` section ( #5819 )
8 years ago
Thomas Bruederli
109ca4dfc2
Fix js-deps check and installation
8 years ago
Aleksander Machniak
715e8bf8bd
Print error from CLI scripts when system/exec function is disabled ( #5744 )
8 years ago
Aleksander Machniak
9eefa47e45
Fix codemirror re-installation
When re-installing a dependency with 'map' entries containing * character
these dest folders were not properly cleaned up before moving new files
to them. It's because path with * does not work in is_dir().
8 years ago
Aleksander Machniak
15d0c55b20
Throw error if one of required programs is not installed ( #5598 )
9 years ago
Aleksander Machniak
3679cb7c34
Add --delete argument to install-jsdeps.sh
9 years ago
Aleksander Machniak
c761f5b6e3
Fix function name
9 years ago
Aleksander Machniak
cb09ff0ffc
Make it working with wget when curl is not installed, mark --force argument as boolean
9 years ago
Thomas Bruederli
40cd8d3bdd
Add --force option + update install insructions ( #5535 )
9 years ago
Thomas Bruederli
10f6fb4cc7
Install script to fetch javascript dependencies defined in jsdeps.json ( #5535 )
9 years ago