Skip to content

Conversation

@tijmenbruggeman
Copy link
Collaborator

@tijmenbruggeman tijmenbruggeman commented Nov 24, 2025

Updates and additions to formatting dependencies. This PR will also help ensure the plug-in stays compatible with php5.6.

Changes

  • Update license to GPL-2.0-or-later. License "GPL-2.0+" is a deprecated SPDX license identifier, use "GPL-2.0-or-later" instead
  • updated phpcs and wordpress codestyles, ran autoformatter
  • manual fixes
    • line endings
    • use gmdate instead of date
    • explicit visibility for methods
    • allow one class per file
    • strict in_array comparisons for types
    • ignore strict comparison check (===) as this would functionally change the workings and I don't want to add functional changes in this PR.

@rkoopmans rkoopmans merged commit ecfdfea into tinify:master Jan 27, 2026
9 checks passed
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