FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Drop USE_UTF_STRINGS constant by kamil-tekiela · Pull Request #471 · phpmyadmin/sql-parser · GitHub

Drop USE_UTF_STRINGS constant - #471

Merged
williamdes merged 1 commit into
phpmyadmin:masterfrom
kamil-tekiela:USE_UTF_STRINGS
Jun 5, 2023
Merged

Drop USE_UTF_STRINGS constant#471
williamdes merged 1 commit into
phpmyadmin:masterfrom
kamil-tekiela:USE_UTF_STRINGS

Conversation

Copy link
Copy Markdown
Contributor

The days of PHP 5.5 are long gone. A constant by its definition should never change value. I assume it was meant to be a config option, but of course we don't expect anyone to change some obscure line of code. So let's remove this code as it serves no purpose anymore.

Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>

codecov Bot commented Jun 2, 2023

Copy link
Copy Markdown

Codecov Report

Patch coverage: 100.00% and project coverage change: -0.01 ⚠️

Comparison is base (fd47aeb) 96.64% compared to head (aaac48b) 96.64%.

Additional details and impacted files
@@             Coverage Diff              @@
##             master     #471      +/-   ##
============================================
- Coverage     96.64%   96.64%   -0.01%     
+ Complexity     2213     2212       -1     
============================================
  Files            66       66              
  Lines          5096     5094       -2     
============================================
- Hits           4925     4923       -2     
  Misses          171      171              
Impacted Files Coverage Δ
src/Lexer.php 99.74% <100.00%> (-0.01%) ⬇️

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

Copy link
Copy Markdown
Contributor Author

Just so I remember, this needs to be removed from here as well https://github.com/phpmyadmin/phpmyadmin/blob/master/libraries/classes/Linter.php#L36

williamdes left a comment

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.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Thank you

williamdes added a commit that referenced this pull request Jun 5, 2023
Pull-request: #471

Signed-off-by: William Desportes <williamdes@wdes.fr>
williamdes merged commit f879250 into phpmyadmin:master Jun 5, 2023
williamdes self-assigned this Jun 5, 2023
williamdes added this to the 6.0.0 milestone Jun 5, 2023
kamil-tekiela deleted the USE_UTF_STRINGS branch June 5, 2023 20:21
kamil-tekiela added a commit to kamil-tekiela/phpmyadmin that referenced this pull request Jun 7, 2023
phpmyadmin/sql-parser#471

Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
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
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


Back | FazBrowse Home | New Git URL