From 494177bf21dec63fff4e5a753e259f865c9c1fda Mon Sep 17 00:00:00 2001 From: Benjamin Morel Date: Fri, 10 May 2024 19:07:38 +0200 Subject: [PATCH] Remove deprecated INLINE_NUMERIC_SCALAR_ARRAY --- CHANGELOG.md | 4 ++++ src/VarExporter.php | 5 ----- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 04e54d3..7561f32 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ - Added compatibility with `nikic/php-parser` `5.x` - Removed compatibility with `nikic/php-parser` `4.x` +💥 **BC breaks** + +- deprecated constant `VarExporter::INLINE_NUMERIC_SCALAR_ARRAY` has been removed, please use `INLINE_SCALAR_LIST` instead + ## [0.4.0](https://github.com/brick/varexporter/releases/tag/0.4.0) - 2023-09-01 Minimum PHP version is now `7.4`. No breaking changes. diff --git a/src/VarExporter.php b/src/VarExporter.php index 13fc356..138c431 100644 --- a/src/VarExporter.php +++ b/src/VarExporter.php @@ -54,11 +54,6 @@ final class VarExporter */ public const INLINE_SCALAR_LIST = 1 << 7; - /** - * @deprecated Please use INLINE_SCALAR_LIST instead. - */ - public const INLINE_NUMERIC_SCALAR_ARRAY = self::INLINE_SCALAR_LIST; - /** * Export static vars defined via `use` as variables. */