Skip to content

Bump PHPStan#8453

Merged
Alkarex merged 1 commit intoFreshRSS:edgefrom
Alkarex:bump-phpstan
Jan 21, 2026
Merged

Bump PHPStan#8453
Alkarex merged 1 commit intoFreshRSS:edgefrom
Alkarex:bump-phpstan

Conversation

@Alkarex
Copy link
Member

@Alkarex Alkarex commented Jan 21, 2026

~22% faster analysis since 2.1.34+. https://github.com/phpstan/phpstan/releases/tag/2.1.34

Before / after:

$ rm -fr /tmp/phpstan/
$ time composer run-script phpstan
> phpstan analyse --memory-limit 512M .
Note: Using configuration file /home/alex/GitHub/FreshRSS/phpstan.dist.neon.

real    1m2.924s
user    4m54.812s
sys     0m16.494s

$ rm -fr /tmp/phpstan/
$ time composer run-script phpstan
> phpstan analyse --memory-limit 512M .
Note: Using configuration file /home/alex/GitHub/FreshRSS/phpstan.dist.neon.

real    0m49.215s
user    3m40.906s
sys     0m18.413s

~22% faster analysis since 2.1.34+.
https://github.com/phpstan/phpstan/releases/tag/2.1.34

Before / after:

```console
$ rm -fr /tmp/phpstan/
$ time composer run-script phpstan
> phpstan analyse --memory-limit 512M .
Note: Using configuration file /home/alex/GitHub/FreshRSS/phpstan.dist.neon.

real    1m2.924s
user    4m54.812s
sys     0m16.494s

$ rm -fr /tmp/phpstan/
$ time composer run-script phpstan
> phpstan analyse --memory-limit 512M .
Note: Using configuration file /home/alex/GitHub/FreshRSS/phpstan.dist.neon.

real    0m49.215s
user    3m40.906s
sys     0m18.413s
```
@Alkarex Alkarex added the System care Everything related to system care label Jan 21, 2026
@Alkarex Alkarex added this to the 1.28.1 milestone Jan 21, 2026
@Alkarex
Copy link
Member Author

Alkarex commented Jan 21, 2026

Thanks for the tip @Frenzie

@Frenzie
Copy link
Member

Frenzie commented Jan 21, 2026

Nice. Pity it wasn't closer to the 40%. :-)

@Alkarex Alkarex merged commit bb57995 into FreshRSS:edge Jan 21, 2026
1 check passed
@Alkarex Alkarex deleted the bump-phpstan branch January 21, 2026 20:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

System care Everything related to system care

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants