Skip to content

refactor: remove all code for PHP versions lower than 8.2 - #69

Merged
carlos-granados merged 1 commit into
php-debugger:mainfrom
carlos-granados:refactor/remove-code-below-8.2
May 3, 2026
Merged

carlos-granados merged 1 commit into
php-debugger:mainfrom
carlos-granados:refactor/remove-code-below-8.2

Conversation

@carlos-granados

Copy link
Copy Markdown
Collaborator

Removes all remaining code that targeted versions of PHP lower than 8.2, which is the lowest version that we support

Comment thread src/lib/var_export_html.c Outdated
# pragma GCC diagnostic push
# pragma GCC diagnostic ignored "-Wdeclaration-after-statement"
# endif
# include "zend_enum.h"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As I understand, this is now under if !defined(_MSC_VER), isn't it? Same below

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I removed the wrong #endif, did not notice it because under linux this compiles fine, only noticed it when the code was compiled in Windows in CI. Now fixed

@carlos-granados
carlos-granados force-pushed the refactor/remove-code-below-8.2 branch from a237607 to 4475810 Compare May 2, 2026 21:40
# Conflicts:
#	src/base/base.c

# Conflicts:
#	src/base/base.c
@carlos-granados
carlos-granados force-pushed the refactor/remove-code-below-8.2 branch from 1b57087 to 554155a Compare May 2, 2026 22:00
@carlos-granados
carlos-granados requested a review from pronskiy May 2, 2026 22:02
@carlos-granados
carlos-granados merged commit 98e965e into php-debugger:main May 3, 2026
15 checks passed
@carlos-granados
carlos-granados deleted the refactor/remove-code-below-8.2 branch May 3, 2026 19:23
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