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

@ -16,7 +16,7 @@ To use it, upload this directory in your `./extensions` directory and enable it
The following CSS rules let you have a more comfortable mobile view by hiding some icons (read/unread article, mark as favorite and RSS feed's favicon) and by reducing text size. It also displays the name of the subscribed feed, instead of the favicon:
```css
@media (max-width: 840px)
@media (max-width: 840px)
{
.flux_header .item.website
{
@ -28,8 +28,8 @@ The following CSS rules let you have a more comfortable mobile view by hiding so
{
display:none;
}
.flux_header .item.website span
{
display:inline;
@ -46,29 +46,29 @@ Desktop screen resolution:
Mobile screen resolution:
![Mobile](mobile_resolution.png)
![Mobile](mobile_resolution.png)
#### Getting rid of Top Menu Items
The Top Menu within the mobile view might look a little bit cluttered, depending on the theme. The following CSS rules allow to hide unneccessary top menu buttons or input boxes.
The Top Menu within the mobile view might look a little bit cluttered, depending on the theme. The following CSS rules allow to hide unnecessary top menu buttons or input boxes.
```css
@media (max-width: 840px)
@media (max-width: 840px)
{
/* Hides "Actions" Menu in Mobile View */
#nav_menu_actions {
display: none;
}
/* Hides "Views" Menu in Mobile View */
#nav_menu_views {
display: none;
}
/* Hides "Search" Input Box in Mobile View */
.nav_menu .item.search {
display: none;
}
/* Hides the Dropdown Menu Button next to the "Mark all read" Button in Mobile View */
#mark-read-menu .dropdown {
display: none;
@ -77,6 +77,7 @@ The Top Menu within the mobile view might look a little bit cluttered, depending
```
### Sidebar: Move the unread count to the right side of a feed
Some people prefer to have the unread count number of a feed on the right side after the feed's name, instead placing it between the favicon and the feeds name, as this is also the common location in other tools (e.g. e-mail inbox folder). Use this CSS code to move the number to the right side.
```css
.feed .item-title:not([data-unread="0"])::before {