Add PHPStan and other quality checks (#185)

* Add PHPStan and other quality checks
Similar to FreshRSS core
Contributes to https://github.com/FreshRSS/Extensions/issues/184

* Bump versions

* markdownlint

* Draft of GitHub Actions

* Wrong branch

* Remove wrong tests

* Change path approach

* Move checkout

* cache-dependency-path

* fix rm symbolic

* Remove irrelevant tests

* Fix composer cache path

* Fix hashFiles

* fix shell cache
This commit is contained in:
Alexandre Alapetite 2023-11-24 17:04:16 +01:00 committed by GitHub
parent ec9a5903d4
commit fabd9806af
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
70 changed files with 1286 additions and 417 deletions

View file

@ -31,7 +31,7 @@ The source code for the images.weserv.nl proxy can be found at [github.com/andri
In order to use Apache [mod_rewrite](https://httpd.apache.org/docs/current/mod/mod_rewrite.html), you will need to set the following settings:
* `proxy_url` = **https://www.example.org/proxy/**
* `proxy_url` = **<https://www.example.org/proxy/>**
* `scheme_include` = **1**
@ -39,7 +39,7 @@ In order to use Apache [mod_rewrite](https://httpd.apache.org/docs/current/mod/m
Along the following Apache configuration for the `www.example.org` virtual host:
```
```apache
# WARNING: Multiple '/' in %{REQUEST_URI} are internally trimmed to a single one!
RewriteCond %{REQUEST_URI} ^/proxy/https:/+(.*)$
RewriteRule ^ https://%1 [QSA,P,L]
@ -74,7 +74,7 @@ In order to use nginx's [proxy
module](https://nginx.org/en/docs/http/ngx_http_proxy_module.html), you will
need to set the following settings:
* `proxy_url` = **https://www.example.org/proxy?key=changeme&url=**
* `proxy_url` = **<https://www.example.org/proxy?key=changeme&url=>**
* `scheme_include` = **1**
* `url_encode` = **0**