Skip to content

Commit

Permalink
Remove deprecated INLINE_NUMERIC_SCALAR_ARRAY
Browse files Browse the repository at this point in the history
  • Loading branch information
BenMorel committed May 10, 2024
1 parent 4b8fe1c commit 494177b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
5 changes: 0 additions & 5 deletions src/VarExporter.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*/
Expand Down

0 comments on commit 494177b

Please sign in to comment.