Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@perdedora
Copy link
Member

PR to bump php version and twig.

  • Support for php8.2.
  • Support for new twig.
  • Change securimage to a fork.
  • Hacky fixes to report with long text.
  • Proper organization of twig extensions.
  • Twig templates changes (spaceless filter was nuked for a more granular approach) .
  • I18n extension was patched and imported because php-my-admin is planning to archived.

There's some concerns, mainly:

  • Twig versions requires >=8.1.
  • Display.php is not fit, so there's a decorator for the time being. #[AllowDynamicProperties]

@perdedora perdedora marked this pull request as ready for review June 1, 2025 20:07
@ghost
Copy link

ghost commented Jun 19, 2025

looking at the php life cycle, it is clear that php 8.2 is not even going to have security support much longer. It is just silly, inept and dangerous to make an imageboard that is INTENDED for deprecated versions of php. It is shocking that github even allows it. I am not being mean, someone has to speak up- devs should have handled this years ago. But especially with ai to help, there is no reason to not start from scratch and make a less bloated and more secure ib that is made to work on the latest version, not something like vichan that is intentionally made to work on deprecated php versions that have zero security support. Php will never be as good as rust- but some people just want to use php. So GIVE them a nice, secure, modern php board instead of intentionally keeping vichan unsafe and arcane.

@andrewwhiteingale
Copy link

andrewwhiteingale commented Aug 3, 2025

thank you perdedora for putting it up I'll maybe use it if you don't mind in future if there is no bug
Although i'll update it to php 8.4 instead, not sure if there is anything to update but I'm glad you put it up as I wanted to do it long ago myself thank you though I'd still manually check changes.

@andrewwhiteingale
Copy link

note php still works with 8.2 and newer versions for some long time atm.

@perdedora
Copy link
Member Author

thank you perdedora for putting it up I'll maybe use it if you don't mind in future if there is no bug Although i'll update it to php 8.4 instead, not sure if there is anything to update but I'm glad you put it up as I wanted to do it long ago myself thank you though I'd still manually check changes.

yes, it's supposed to work with 8.4 too but i didn't tested.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants