Alexandre Alapetite
00cd5df294
Use native PHP #[Deprecated] ( #8325 )
...
https://php.watch/versions/8.4/Deprecated
And enfore it with PHPUnit + PHPStan.
Especially useful for extensions.
2025-12-17 10:11:18 +01:00
dependabot[bot]
9963176dbd
Bump phpstan/phpstan-phpunit from 2.0.7 to 2.0.8 ( #8274 )
...
Bumps [phpstan/phpstan-phpunit](https://github.com/phpstan/phpstan-phpunit ) from 2.0.7 to 2.0.8.
- [Release notes](https://github.com/phpstan/phpstan-phpunit/releases )
- [Commits](https://github.com/phpstan/phpstan-phpunit/compare/2.0.7...2.0.8 )
---
updated-dependencies:
- dependency-name: phpstan/phpstan-phpunit
dependency-version: 2.0.8
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr >
2025-12-02 10:50:20 +01:00
dependabot[bot]
6431520ae5
Bump phpstan/phpstan from 2.1.31 to 2.1.32 ( #8275 )
...
* Bump phpstan/phpstan from 2.1.31 to 2.1.32
---
updated-dependencies:
- dependency-name: phpstan/phpstan
dependency-version: 2.1.32
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* Ignore
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr >
2025-12-02 10:44:39 +01:00
dependabot[bot]
0f17ef160d
Bump squizlabs/php_codesniffer from 4.0.0 to 4.0.1 ( #8273 )
...
Bumps [squizlabs/php_codesniffer](https://github.com/PHPCSStandards/PHP_CodeSniffer ) from 4.0.0 to 4.0.1.
- [Release notes](https://github.com/PHPCSStandards/PHP_CodeSniffer/releases )
- [Changelog](https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/4.x/CHANGELOG-4.x.md )
- [Commits](https://github.com/PHPCSStandards/PHP_CodeSniffer/compare/4.0.0...4.0.1 )
---
updated-dependencies:
- dependency-name: squizlabs/php_codesniffer
dependency-version: 4.0.1
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-01 22:08:26 +01:00
Alexandre Alapetite
1c92d55917
Use native CSS instead of SCSS ( #8241 )
...
I was tired of having to handle the SCSS themes differently.
fix https://github.com/FreshRSS/FreshRSS/issues/7611
Follow-up of https://github.com/FreshRSS/FreshRSS/pull/8200
Convert Ansum and Mapco themes from SCSS to native CSS.
The changes are actually quite limited (mostly changing the syntax of the variables and a few other things)
Require support for:
* https://developer.mozilla.org/en-US/docs/Web/CSS/Guides/Nesting
* https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Selectors/Nesting_selector
* https://developer.mozilla.org/en-US/docs/Web/CSS/color_value/color-mix
SCSS and SAAS tools and references are also removed.
Tests welcome.
The styles are left as individual CSS files as designed originally in SCSS. I expect proper HTTP caching and HTTP/2 to be sufficient instead of aggregating back to a single CSS, but might be done in another PR if needed.
At the same time, fixed the fact that we had various whitespace styles in our JSON files, in particular in those themes, sometimes with 2 spaces, or 4 spaces, or tabs. Use tabs everywhere as defined in editorconfig.
I would like to merge this one first to complete https://github.com/FreshRSS/FreshRSS/pull/8230
* RTLCSS stringMap
https://github.com/FreshRSS/FreshRSS/pull/8241#discussion_r2553175514
https://github.com/MohammadYounes/rtlcss/issues/108#issuecomment-347033134
2025-11-23 13:15:10 +01:00
dependabot[bot]
f1c91c84dd
Bump phpstan/phpstan from 2.1.29 to 2.1.31 ( #8156 )
...
* Bump phpstan/phpstan from 2.1.29 to 2.1.31
Bumps [phpstan/phpstan](https://github.com/phpstan/phpstan-phar-composer-source ) from 2.1.29 to 2.1.31.
- [Commits](https://github.com/phpstan/phpstan-phar-composer-source/commits )
---
updated-dependencies:
- dependency-name: phpstan/phpstan
dependency-version: 2.1.31
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* Fixes
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr >
2025-10-25 11:21:28 +02:00
Alexandre Alapetite
df4b76f74b
PHPStan 2.1.29 ( #8052 )
...
Replace:
* https://github.com/FreshRSS/FreshRSS/pull/8049
* https://github.com/FreshRSS/FreshRSS/pull/8050
2025-10-01 21:02:42 +02:00
Alexandre Alapetite
833007f586
Upgrade to PHP_CodeSniffer 4 ( #7993 )
...
https://github.com/PHPCSStandards/PHP_CodeSniffer/wiki/Version-4.0-User-Upgrade-Guide
A couple of rules have changed name. Exclusion paths have slightly changed behaviour.
Main change is that it was unhappy with our i18n header comments, so minor edit there, since that rule kind of makes sense the rest of the time
2025-09-22 22:02:59 +02:00
Alexandre Alapetite
b7a39976f9
PHPStan start supporting PHP 8.5+ ( #7787 )
...
https://github.com/phpstan/phpstan/releases/tag/2.1.22
2025-08-05 23:31:11 +02:00
Alexandre Alapetite
536c476f0d
composer update + corresponding PHPStan fixes ( #7781 )
...
Replacing failing Dependabot PRs:
* https://github.com/FreshRSS/FreshRSS/pull/7779
* https://github.com/FreshRSS/FreshRSS/pull/7780
* https://github.com/FreshRSS/FreshRSS/pull/7778
2025-08-01 21:36:25 +02:00
dependabot[bot]
c98b8372a4
Bump squizlabs/php_codesniffer from 3.13.0 to 3.13.2 ( #7708 )
...
Bumps [squizlabs/php_codesniffer](https://github.com/PHPCSStandards/PHP_CodeSniffer ) from 3.13.0 to 3.13.2.
- [Release notes](https://github.com/PHPCSStandards/PHP_CodeSniffer/releases )
- [Changelog](https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/master/CHANGELOG.md )
- [Commits](https://github.com/PHPCSStandards/PHP_CodeSniffer/compare/3.13.0...3.13.2 )
---
updated-dependencies:
- dependency-name: squizlabs/php_codesniffer
dependency-version: 3.13.2
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-01 23:46:11 +02:00
dependabot[bot]
d3bb86669c
Bump squizlabs/php_codesniffer from 3.12.2 to 3.13.0 ( #7634 )
...
Bumps [squizlabs/php_codesniffer](https://github.com/PHPCSStandards/PHP_CodeSniffer ) from 3.12.2 to 3.13.0.
- [Release notes](https://github.com/PHPCSStandards/PHP_CodeSniffer/releases )
- [Changelog](https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/master/CHANGELOG.md )
- [Commits](https://github.com/PHPCSStandards/PHP_CodeSniffer/compare/3.12.2...3.13.0 )
---
updated-dependencies:
- dependency-name: squizlabs/php_codesniffer
dependency-version: 3.13.0
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-01 22:12:58 +02:00
dependabot[bot]
7a88f61678
Bump phpstan/phpstan from 2.1.13 to 2.1.17 ( #7635 )
...
Bumps [phpstan/phpstan](https://github.com/phpstan/phpstan ) from 2.1.13 to 2.1.17.
- [Release notes](https://github.com/phpstan/phpstan/releases )
- [Changelog](https://github.com/phpstan/phpstan/blob/2.1.x/CHANGELOG.md )
- [Commits](https://github.com/phpstan/phpstan/compare/2.1.13...2.1.17 )
---
updated-dependencies:
- dependency-name: phpstan/phpstan
dependency-version: 2.1.17
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-01 22:07:17 +02:00
dependabot[bot]
0cd23cca7c
Bump phpstan/phpstan from 2.1.11 to 2.1.13 ( #7534 )
...
* Bump phpstan/phpstan from 2.1.11 to 2.1.13
Bumps [phpstan/phpstan](https://github.com/phpstan/phpstan ) from 2.1.11 to 2.1.13.
- [Release notes](https://github.com/phpstan/phpstan/releases )
- [Changelog](https://github.com/phpstan/phpstan/blob/2.1.x/CHANGELOG.md )
- [Commits](https://github.com/phpstan/phpstan/compare/2.1.11...2.1.13 )
---
updated-dependencies:
- dependency-name: phpstan/phpstan
dependency-version: 2.1.13
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* Bump phpstan/phpstan from 2.1.11 to 2.1.13
Bumps [phpstan/phpstan](https://github.com/phpstan/phpstan ) from 2.1.11 to 2.1.13.
- [Release notes](https://github.com/phpstan/phpstan/releases )
- [Changelog](https://github.com/phpstan/phpstan/blob/2.1.x/CHANGELOG.md )
- [Commits](https://github.com/phpstan/phpstan/compare/2.1.11...2.1.13 )
---
updated-dependencies:
- dependency-name: phpstan/phpstan
dependency-version: 2.1.13
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* Fix PHPStan
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr >
2025-05-01 11:50:12 +02:00
dependabot[bot]
3ac5a60bed
Bump squizlabs/php_codesniffer from 3.12.0 to 3.12.2 ( #7533 )
...
Bumps [squizlabs/php_codesniffer](https://github.com/PHPCSStandards/PHP_CodeSniffer) from 3.12.0 to 3.12.2.
- [Release notes](https://github.com/PHPCSStandards/PHP_CodeSniffer/releases)
- [Changelog](https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/master/CHANGELOG.md)
- [Commits](https://github.com/PHPCSStandards/PHP_CodeSniffer/compare/3.12.0...3.12.2)
---
updated-dependencies:
- dependency-name: squizlabs/php_codesniffer
dependency-version: 3.12.2
dependency-type: direct:development
update-type: version-update:semver-patch
...
2025-05-01 11:37:36 +02:00
Alexandre Alapetite
78dfb44060
Pass phpstan-strict-rules 2.0.4 ( #7488 )
...
New check for Boolean in while conditions
Replace https://github.com/FreshRSS/FreshRSS/pull/7481
2025-04-02 00:46:28 +02:00
dependabot[bot]
d1c2ab3d86
Bump phpstan/phpstan-phpunit from 2.0.4 to 2.0.6 ( #7484 )
...
Bumps [phpstan/phpstan-phpunit](https://github.com/phpstan/phpstan-phpunit ) from 2.0.4 to 2.0.6.
- [Release notes](https://github.com/phpstan/phpstan-phpunit/releases )
- [Commits](https://github.com/phpstan/phpstan-phpunit/compare/2.0.4...2.0.6 )
---
updated-dependencies:
- dependency-name: phpstan/phpstan-phpunit
dependency-version: 2.0.6
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-01 21:14:01 +02:00
dependabot[bot]
f7be03d56a
Bump squizlabs/php_codesniffer from 3.11.3 to 3.12.0 ( #7483 )
...
Bumps [squizlabs/php_codesniffer](https://github.com/PHPCSStandards/PHP_CodeSniffer ) from 3.11.3 to 3.12.0.
- [Release notes](https://github.com/PHPCSStandards/PHP_CodeSniffer/releases )
- [Changelog](https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/master/CHANGELOG.md )
- [Commits](https://github.com/PHPCSStandards/PHP_CodeSniffer/compare/3.11.3...3.12.0 )
---
updated-dependencies:
- dependency-name: squizlabs/php_codesniffer
dependency-version: 3.12.0
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-01 21:13:46 +02:00
dependabot[bot]
453a46af4e
Bump phpstan/phpstan from 2.1.8 to 2.1.11 ( #7482 )
...
Bumps [phpstan/phpstan](https://github.com/phpstan/phpstan ) from 2.1.8 to 2.1.11.
- [Release notes](https://github.com/phpstan/phpstan/releases )
- [Changelog](https://github.com/phpstan/phpstan/blob/2.1.x/CHANGELOG.md )
- [Commits](https://github.com/phpstan/phpstan/compare/2.1.8...2.1.11 )
---
updated-dependencies:
- dependency-name: phpstan/phpstan
dependency-version: 2.1.11
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-01 20:59:44 +02:00
Alexandre Alapetite
68cb248bd5
Update PHPStan 2.1.8 ( #7431 )
...
Fixing minor breaking changes
2025-03-15 11:58:48 +01:00
Alexandre Alapetite
f477a261d6
Update dev tools ( #7347 )
...
In particular those not covered by Dependabot
2025-02-21 13:57:56 +01:00
dependabot[bot]
a72f8c0d02
Bump squizlabs/php_codesniffer from 3.11.2 to 3.11.3 ( #7279 )
...
Bumps [squizlabs/php_codesniffer](https://github.com/PHPCSStandards/PHP_CodeSniffer ) from 3.11.2 to 3.11.3.
- [Release notes](https://github.com/PHPCSStandards/PHP_CodeSniffer/releases )
- [Changelog](https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/master/CHANGELOG.md )
- [Commits](https://github.com/PHPCSStandards/PHP_CodeSniffer/compare/3.11.2...3.11.3 )
---
updated-dependencies:
- dependency-name: squizlabs/php_codesniffer
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-01 22:40:49 +01:00
dependabot[bot]
95f7e8e92b
Bump phpstan/phpstan-phpunit from 2.0.3 to 2.0.4 ( #7280 )
...
Bumps [phpstan/phpstan-phpunit](https://github.com/phpstan/phpstan-phpunit ) from 2.0.3 to 2.0.4.
- [Release notes](https://github.com/phpstan/phpstan-phpunit/releases )
- [Commits](https://github.com/phpstan/phpstan-phpunit/compare/2.0.3...2.0.4 )
---
updated-dependencies:
- dependency-name: phpstan/phpstan-phpunit
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-01 19:44:54 +01:00
dependabot[bot]
9ee0058c53
Bump phpstan/phpstan-strict-rules from 2.0.1 to 2.0.3 ( #7281 )
...
Bumps [phpstan/phpstan-strict-rules](https://github.com/phpstan/phpstan-strict-rules ) from 2.0.1 to 2.0.3.
- [Release notes](https://github.com/phpstan/phpstan-strict-rules/releases )
- [Commits](https://github.com/phpstan/phpstan-strict-rules/compare/2.0.1...2.0.3 )
---
updated-dependencies:
- dependency-name: phpstan/phpstan-strict-rules
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-01 19:41:48 +01:00
dependabot[bot]
e955e83fe3
Bump phpstan/phpstan from 2.1.0 to 2.1.2 ( #7282 )
...
Bumps [phpstan/phpstan](https://github.com/phpstan/phpstan ) from 2.1.0 to 2.1.2.
- [Release notes](https://github.com/phpstan/phpstan/releases )
- [Changelog](https://github.com/phpstan/phpstan/blob/2.1.x/CHANGELOG.md )
- [Commits](https://github.com/phpstan/phpstan/compare/2.1.0...2.1.2 )
---
updated-dependencies:
- dependency-name: phpstan/phpstan
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-01 19:41:00 +01:00
dependabot[bot]
b13ed4e479
Bump phpstan/phpstan from 2.0.4 to 2.1.0 ( #7164 )
...
* Bump phpstan/phpstan from 2.0.4 to 2.1.0
Bumps [phpstan/phpstan](https://github.com/phpstan/phpstan ) from 2.0.4 to 2.1.0.
- [Release notes](https://github.com/phpstan/phpstan/releases )
- [Changelog](https://github.com/phpstan/phpstan/blob/2.1.x/CHANGELOG.md )
- [Commits](https://github.com/phpstan/phpstan/compare/2.0.4...2.1.0 )
---
updated-dependencies:
- dependency-name: phpstan/phpstan
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* Workaround false positive PHPStan
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr >
2025-01-01 21:04:32 +01:00
Alexandre Alapetite
b1d24fbdb7
PHPStan 2.0 ( #7131 )
...
* PHPStan 2.0
fix https://github.com/FreshRSS/FreshRSS/issues/6989
https://github.com/phpstan/phpstan/releases/tag/2.0.0
https://github.com/phpstan/phpstan/blob/2.0.x/UPGRADING.md
* More
* More
* Done
* fix i18n CLI
* Restore a PHPStan Next test
For work towards PHPStan Level 10
* 4 more on Level 10
* fix getTagsForEntry
* API at Level 10
* More Level 10
* Finish Minz at Level 10
* Finish CLI at Level 10
* Finish Controllers at Level 10
* More Level 10
* More
* Pass bleedingEdge
* Clean PHPStan options and add TODOs
* Level 10 for main config
* More
* Consitency array vs. list
* Sanitize themes get_infos
* Simplify TagDAO->getTagsForEntries()
* Finish reportAnyTypeWideningInVarTag
* Prepare checkBenevolentUnionTypes and checkImplicitMixed
* Fixes
* Refix
* Another fix
* Casing of __METHOD__ constant
2024-12-27 12:12:49 +01:00
Alexandre Alapetite
01f2325850
Update dev dependencies ( #7052 )
...
I was expecting some of them (e.g. PHPStan) as part of the last Dependabot round, so here is a global update
2024-12-03 18:55:27 +01:00
dependabot[bot]
3c85347cf0
Bump squizlabs/php_codesniffer from 3.10.3 to 3.11.1 ( #7047 )
...
Bumps [squizlabs/php_codesniffer](https://github.com/PHPCSStandards/PHP_CodeSniffer ) from 3.10.3 to 3.11.1.
- [Release notes](https://github.com/PHPCSStandards/PHP_CodeSniffer/releases )
- [Changelog](https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/master/CHANGELOG.md )
- [Commits](https://github.com/PHPCSStandards/PHP_CodeSniffer/compare/3.10.3...3.11.1 )
---
updated-dependencies:
- dependency-name: squizlabs/php_codesniffer
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-01 20:00:38 +01:00
dependabot[bot]
9c3a2b2a65
Bump phpstan/phpstan from 1.12.6 to 1.12.7 ( #6964 )
...
Bumps [phpstan/phpstan](https://github.com/phpstan/phpstan ) from 1.12.6 to 1.12.7.
- [Release notes](https://github.com/phpstan/phpstan/releases )
- [Changelog](https://github.com/phpstan/phpstan/blob/2.0.x/CHANGELOG.md )
- [Commits](https://github.com/phpstan/phpstan/compare/1.12.6...1.12.7 )
---
updated-dependencies:
- dependency-name: phpstan/phpstan
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-01 21:26:09 +01:00
Alexandre Alapetite
8abfb07dc1
Use recommended phpstan.dist.neon ( #6892 )
...
* Rename to phpstan.dist.neon
* gitignore phpstan.neon
* Update phpstan-next accordingly
* Fixes for PHPStan bleedingEdge
2024-10-14 09:36:15 +02:00
dependabot[bot]
1980b993f7
Bump squizlabs/php_codesniffer from 3.10.2 to 3.10.3 ( #6853 )
...
Bumps [squizlabs/php_codesniffer](https://github.com/PHPCSStandards/PHP_CodeSniffer ) from 3.10.2 to 3.10.3.
- [Release notes](https://github.com/PHPCSStandards/PHP_CodeSniffer/releases )
- [Changelog](https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/master/CHANGELOG.md )
- [Commits](https://github.com/PHPCSStandards/PHP_CodeSniffer/compare/3.10.2...3.10.3 )
---
updated-dependencies:
- dependency-name: squizlabs/php_codesniffer
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-01 20:47:06 +02:00
dependabot[bot]
ee4b17dc27
Bump phpstan/phpstan-strict-rules from 1.6.0 to 1.6.1 ( #6854 )
...
Bumps [phpstan/phpstan-strict-rules](https://github.com/phpstan/phpstan-strict-rules ) from 1.6.0 to 1.6.1.
- [Release notes](https://github.com/phpstan/phpstan-strict-rules/releases )
- [Commits](https://github.com/phpstan/phpstan-strict-rules/compare/1.6.0...1.6.1 )
---
updated-dependencies:
- dependency-name: phpstan/phpstan-strict-rules
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-01 20:46:49 +02:00
dependabot[bot]
c6a8eaea91
Bump phpstan/phpstan from 1.12.3 to 1.12.5 ( #6852 )
...
Bumps [phpstan/phpstan](https://github.com/phpstan/phpstan ) from 1.12.3 to 1.12.5.
- [Release notes](https://github.com/phpstan/phpstan/releases )
- [Changelog](https://github.com/phpstan/phpstan/blob/2.0.x/CHANGELOG.md )
- [Commits](https://github.com/phpstan/phpstan/compare/1.12.3...1.12.5 )
---
updated-dependencies:
- dependency-name: phpstan/phpstan
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-01 20:46:35 +02:00
Alexandre Alapetite
e56819c58a
Minor composer update
2024-09-14 23:37:14 +02:00
Alexandre Alapetite
aefac3efb9
CI fix warnings ( #6780 )
2024-09-06 10:18:51 +02:00
Alexandre Alapetite
a81656c3ed
Upgrade to PHP 8.1 ( #6711 )
...
* Upgrade to PHP 8.1
As discussed in https://github.com/FreshRSS/FreshRSS/discussions/5474
https://www.php.net/releases/8.0/en.php
https://www.php.net/releases/8.1/en.php
Upgrade to available native type declarations
https://php.net/language.types.declarations
Upgrade to https://phpunit.de/announcements/phpunit-10.html which requires PHP 8.1+ (good timing, as version 9 was not maintained anymore)
Upgrade `:oldest` Docker dev image to oldest Alpine version supporting PHP 8.1: Alpine 3.16, which includes PHP 8.1.22.
* Include 6736
https://github.com/FreshRSS/FreshRSS/pull/6736
2024-09-06 09:06:46 +02:00
Alexandre Alapetite
05e24aa559
composer update ( #6739 )
...
PHPStan 1.12.0
2024-08-27 15:31:21 +02:00
Alexandre Alapetite
692e30465d
Update about running tests ( #6709 )
2024-08-14 21:54:34 +02:00
dependabot[bot]
74fd19aa4f
Bump phpstan/phpstan from 1.11.8 to 1.11.9 ( #6684 )
...
Bumps [phpstan/phpstan](https://github.com/phpstan/phpstan ) from 1.11.8 to 1.11.9.
- [Release notes](https://github.com/phpstan/phpstan/releases )
- [Changelog](https://github.com/phpstan/phpstan/blob/1.12.x/CHANGELOG.md )
- [Commits](https://github.com/phpstan/phpstan/compare/1.11.8...1.11.9 )
---
updated-dependencies:
- dependency-name: phpstan/phpstan
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-01 20:47:19 +02:00
Alexandre Alapetite
d2247221bb
Minor update whitespace PHPCS rules ( #6666 )
...
* Minor update whitespace PHPCS rules
To simplify our configuration, apply more rules, and be clearer about what is added or removed compared with PSR12.
Does not change our current conventions, but just a bit more consistent.
* Forgotten *.phtml
* Sort exclusion patterns + add a few for Extensions repo
* Relaxed some rules
2024-08-01 20:31:40 +02:00
dependabot[bot]
d7806a35b4
Bump phpstan/phpstan from 1.11.4 to 1.11.6 ( #6606 )
...
Bumps [phpstan/phpstan](https://github.com/phpstan/phpstan ) from 1.11.4 to 1.11.6.
- [Release notes](https://github.com/phpstan/phpstan/releases )
- [Changelog](https://github.com/phpstan/phpstan/blob/1.11.x/CHANGELOG.md )
- [Commits](https://github.com/phpstan/phpstan/compare/1.11.4...1.11.6 )
---
updated-dependencies:
- dependency-name: phpstan/phpstan
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-01 23:34:45 +02:00
Alexandre Alapetite
5b28a35003
Pass PHPStan level 9 ( #6544 )
...
* More PHPStan
* More, passing
* 4 more files
* Update to PHPStan 1.11.4
Needed for fixed bug: Consider numeric-string types after string concat
https://github.com/phpstan/phpstan/releases/tag/1.11.4
* Pass PHPStan level 9
Start tracking booleansInConditions
* Fix mark as read
* Fix doctype
* ctype_digit
2024-06-09 20:32:12 +02:00
dependabot[bot]
7d4f85a58a
Bump phpstan/phpstan from 1.11.0 to 1.11.3 ( #6526 )
...
Bumps [phpstan/phpstan](https://github.com/phpstan/phpstan ) from 1.11.0 to 1.11.3.
- [Release notes](https://github.com/phpstan/phpstan/releases )
- [Changelog](https://github.com/phpstan/phpstan/blob/1.11.x/CHANGELOG.md )
- [Commits](https://github.com/phpstan/phpstan/compare/1.11.0...1.11.3 )
---
updated-dependencies:
- dependency-name: phpstan/phpstan
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-01 21:45:46 +02:00
dependabot[bot]
d99759b505
Bump squizlabs/php_codesniffer from 3.9.2 to 3.10.1 ( #6525 )
...
Bumps [squizlabs/php_codesniffer](https://github.com/PHPCSStandards/PHP_CodeSniffer ) from 3.9.2 to 3.10.1.
- [Release notes](https://github.com/PHPCSStandards/PHP_CodeSniffer/releases )
- [Changelog](https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/master/CHANGELOG.md )
- [Commits](https://github.com/PHPCSStandards/PHP_CodeSniffer/compare/3.9.2...3.10.1 )
---
updated-dependencies:
- dependency-name: squizlabs/php_codesniffer
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-01 21:43:08 +02:00
Alexandre Alapetite
2d17c020b6
PHPStan 1.11 + minor update dev dependencies ( #6459 )
...
* PHPStan 1.11 + minor update dev dependencies
https://github.com/phpstan/phpstan/releases/tag/1.11.0
* Comment style
2024-05-15 08:57:58 +02:00
dependabot[bot]
ed6e90c67e
Bump phpstan/phpstan-strict-rules from 1.5.3 to 1.5.5 ( #6415 )
...
Bumps [phpstan/phpstan-strict-rules](https://github.com/phpstan/phpstan-strict-rules ) from 1.5.3 to 1.5.5.
- [Release notes](https://github.com/phpstan/phpstan-strict-rules/releases )
- [Commits](https://github.com/phpstan/phpstan-strict-rules/compare/1.5.3...1.5.5 )
---
updated-dependencies:
- dependency-name: phpstan/phpstan-strict-rules
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-01 21:00:38 +02:00
dependabot[bot]
eddb10bba9
Bump squizlabs/php_codesniffer from 3.9.1 to 3.9.2 ( #6414 )
...
Bumps [squizlabs/php_codesniffer](https://github.com/PHPCSStandards/PHP_CodeSniffer ) from 3.9.1 to 3.9.2.
- [Release notes](https://github.com/PHPCSStandards/PHP_CodeSniffer/releases )
- [Changelog](https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/master/CHANGELOG.md )
- [Commits](https://github.com/PHPCSStandards/PHP_CodeSniffer/compare/3.9.1...3.9.2 )
---
updated-dependencies:
- dependency-name: squizlabs/php_codesniffer
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-01 21:00:21 +02:00
dependabot[bot]
a580d4e4b2
Bump phpstan/phpstan from 1.10.66 to 1.10.67 ( #6413 )
...
Bumps [phpstan/phpstan](https://github.com/phpstan/phpstan ) from 1.10.66 to 1.10.67.
- [Release notes](https://github.com/phpstan/phpstan/releases )
- [Changelog](https://github.com/phpstan/phpstan/blob/1.11.x/CHANGELOG.md )
- [Commits](https://github.com/phpstan/phpstan/compare/1.10.66...1.10.67 )
---
updated-dependencies:
- dependency-name: phpstan/phpstan
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-01 21:00:04 +02:00
Alexandre Alapetite
350edf398c
PHP 8.3 #[\Override] ( #6273 )
...
* PHP 8.3 #[\Override]
https://php.watch/versions/8.3/override-attr
With PHPStan `checkMissingOverrideMethodAttribute` https://phpstan.org/config-reference#checkmissingoverridemethodattribute
And modified the call to phpstan-next on the model of https://github.com/FreshRSS/Extensions/pull/228 (more robust than the find method, which gave some strange errors)
* Update extension example accordingly
2024-04-10 15:33:43 +02:00