NewShortArray: improve error message by jrfnl · Pull Request #934 · PHPCompatibility/PHPCompatibility
Most error messages in PHPCompatibility follow one of the below formats: * "Feature x is not supported in PHP x.x and below" (new features) * "Feature x was deprecated in PHP x.x and removed in PHP x.x" (removed features) The error message for short array syntax did not follow that typical pattern and was confusing to some - I've recently had questions about it from a few different people -, so I'm proposing to adjust the error message to be more in line with other messages in the PHPCompatibility library.
wimg approved these changes Nov 20, 2019
wimg
deleted the
feature/short-arrays-improve-error-msg
branch
jrfnl
mentioned this pull request
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters