Dag
|
97808abca1
|
refactor: rename rssbridge.php to bootstrap.php (#2987)
Fix #2986
|
2022-08-27 23:01:06 +02:00 |
|
Dag
|
5165ea265d
|
fix: case-insensitive config from env, fix #2935 (#2973)
* refactor
* fix: case-sensitive config from env, fix #2935
* lowercase all config section and keys
* test: add test for case-insensitivity
|
2022-08-23 21:19:53 +02:00 |
|
Dag
|
afcc38786e
|
fix: use default headers in getContents() (#2927)
|
2022-07-31 04:21:56 +02:00 |
|
Dag
|
5e52ecc3f8
|
test: add new test for Configuration (#2915)
|
2022-07-10 20:05:27 +02:00 |
|
Jan Tojnar
|
951092eef3
|
Fix coding style missed by phpbcf (#2901)
$ composer require --dev friendsofphp/php-cs-fixer
$ echo >.php-cs-fixer.dist.php "<?php
$finder = PhpCsFixer\Finder::create()
->in(__DIR__);
$rules = [
'@PSR12' => true,
// '@PSR12:risky' => true,
'@PHP74Migration' => true,
// '@PHP74Migration:risky' => true,
// buggy, duplicates existing comment sometimes
'no_break_comment' => false,
'array_syntax' => true,
'lowercase_static_reference' => true,
'visibility_required' => false,
// Too much noise
'binary_operator_spaces' => false,
'heredoc_indentation' => false,
'trailing_comma_in_multiline' => false,
];
$config = new PhpCsFixer\Config();
return $config
->setRules($rules)
// ->setRiskyAllowed(true)
->setFinder($finder);
"
$ vendor/bin/php-cs-fixer --version
PHP CS Fixer 3.8.0 BerSzcz against war! by Fabien Potencier and Dariusz Ruminski.
PHP runtime: 8.1.7
$ vendor/bin/php-cs-fixer fix
$ rm .php-cs-fixer.cache
$ vendor/bin/php-cs-fixer fix
|
2022-07-08 13:00:52 +02:00 |
|
Dag
|
4f75591060
|
Reformat codebase v4 (#2872)
Reformat code base to PSR12
Co-authored-by: rssbridge <noreply@github.com>
|
2022-07-01 15:10:30 +02:00 |
|
Yaman Qalieh
|
7d31d32750
|
[core] Fix bugs in release helper and document (#2819)
|
2022-06-24 11:02:33 +02:00 |
|
Dag
|
5d77d14f9d
|
feat: add retry logic to the http client (#2692)
* refactor: extract http client
* feat: add retry logic to http client
|
2022-05-08 03:58:57 +02:00 |
|
Eugene Molotov
|
30553d8665
|
contrib: lint fetch_contributors.php
|
2022-01-20 10:22:10 +05:00 |
|
Eugene Molotov
|
0e17282f60
|
contrib: add somehow working emacs script to help prepare new release
|
2022-01-20 09:43:01 +05:00 |
|
Eugene Molotov
|
0f1ec4a879
|
contrib: save template for creating new releases
|
2022-01-20 09:43:01 +05:00 |
|
Eugene Molotov
|
e9d3d7ba67
|
[contrib] Place script for fetching contributors from GitHub's gist to contrib directory
No need to depend on gist.github.com
|
2022-01-20 09:43:01 +05:00 |
|
Eugene Molotov
|
877707f7b2
|
[contrib] Add directory for unorganized bin of various useful things contributed by the community around RSS-Bridge
Idea came after reading https://drewdevault.com/2020/06/06/Add-a-contrib-directory.html
|
2021-07-28 00:51:34 +05:00 |
|