Releases: rayanlevert/command-line-interface
v3.0.4
v2.3.3
.gitattributes : fix missing 'export-ignore'
v3.0.3
.gitattributes
: fix certain names of files and directories
v3.0.2
.gitattributes
: adding all files and directories to exclude when installing the library
v2.3.2
.gitattributes
: fix certain names of files and directories
v2.3.1
.gitattributes
: adding all files and directories to exclude when installing the library
v3.0.1
I've added functionality to properly handle percentage signs in the ProgressBar class's property title
.
This enhancement ensures that when a title contains percentage signs, they are correctly escaped to prevent issues with the sprintf function.
Modified
- #26 : Modified the advance() method in ProgressBar.php:
- Added code to escape percentage signs in the title before using it in
sprintf
- Used
str_replace('%', '%%', $this->title)
to double all percentage signs
- Used
- Added code to escape percentage signs in the title before using it in
v2.2.1
I've added functionality to properly handle percentage signs in the ProgressBar class's property title
.
This enhancement ensures that when a title contains percentage signs, they are correctly escaped to prevent issues with the sprintf function.
Modified
- #26 : Modified the advance() method in ProgressBar.php:
- Added code to escape percentage signs in the title before using it in
sprintf
- Used
str_replace('%', '%%', $this->title)
to double all percentage signs
- Used
- Added code to escape percentage signs in the title before using it in
v3.0.0
Adding php8.4 as required and all brand new features
- Pull request related : #24
- Milestone related : https://github.com/rayanlevert/command-line-interface/milestone/2
For php8.1, 8.2 and 8.3 users, version 2.x is still maintained, please keep using this version.
v2.3.0
Modified
- Extension
mbstring
is not needed anymore - Functions
substr
andstrpos
are called if the extension is not installed, else theirmb_
versions are used