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 |
|
Bocki
|
1a8d0babd1
|
[Multiple] Fix all exampleValues and required variables (#2296)
|
2022-03-24 11:59:34 +01:00 |
|
Eugene Molotov
|
37cb4091d4
|
bridges: remove redundant "or returnServerError" after getContents/getSimpleHTMLDom/getSimpleHTMLDomCached (#2398)
When fetching website contents, exceptions already raise on fetching error
|
2022-01-02 14:36:09 +05:00 |
|
Bockiii
|
bcc15228d8
|
[RedditBridge] Return back NSFW posts to feed (#2257)
As it was working before applying https://github.com/RSS-Bridge/rss-bridge/pull/2229
|
2021-09-04 18:00:02 +05:00 |
|
Bockiii
|
a5d33615f5
|
[RedditBridge] Add keyword search function (#2229)
|
2021-08-25 18:09:36 +05:00 |
|
csisoap
|
1f6ad000ce
|
[RedditBridge] Add option to choose for New, Hot and Top submissions (#2189)
|
2021-07-02 00:41:56 +05:00 |
|
dawidsowa
|
4f7ef212b7
|
[RedditBridge] Add detectParameters (#2070)
|
2021-04-19 22:17:36 +05:00 |
|
dawidsowa
|
13e9a96cf3
|
[RedditBridge]: Add score filter (#2045)
|
2021-04-19 22:14:35 +05:00 |
|
dawidsowa
|
569276f4ef
|
[RedditBridge]: Add user option (#1943)
|
2021-02-23 12:08:43 +05:00 |
|
dawidsowa
|
3c285d50ec
|
[RedditBridge] Rewrite to use JSON (#1781)
|
2020-12-23 22:42:15 +05:00 |
|
Joe Digilio
|
ad661c4c91
|
[RedditBridge] Fix typo prevents bridge from working (#1383)
|
2019-12-05 18:07:50 +01:00 |
|
Léo Maradan
|
46d5895d1d
|
[RedditBridge] Add new bridge (#1213)
|
2019-11-01 13:54:03 +01:00 |
|