Carsten Brandt
2a19b3caa0
fixed whitespace in tests
10 years ago
Alex-Code
b2797b0370
truncate $asHtml tests
10 years ago
armab
ef127f6855
Fixes #5316 : Added `startsWith()` and `endsWith()` to `yii\helpers\StringHelper`. Methods are binary-safe, multibyte-safe and optionally case-insensitive
10 years ago
RichWeber
92cd13a913
pull origin
10 years ago
Carsten Brandt
7af92173b1
length arg of byteSubstr is now optional
10 years ago
Alexander Makarov
a620342315
Adjusted phpdoc, tests and changelog for StringHelper::truncate and StringHelper::truncateWords
11 years ago
Alex-Code
1c80b9d2cc
Test case for new truncate methods.
...
Test case for new truncate methods.
11 years ago
SonicGD
b5f8a4dc22
Reformat code te be PSR-2 compatible
11 years ago
Alexander Makarov
26767735dc
Renamed byte methods, moved path methods back to StringHelper
11 years ago
Alexander Makarov
5f2a612c78
Moved file and path related methods from StringHelper to FileHelper, renamed StringHelper byte methods not to be misused as string methods
11 years ago
Qiang Xue
1c24b3e0d8
removed TestCase and WebTestCase.
11 years ago
Carsten Brandt
949dda5fdb
tagged tests with @group tags
11 years ago
Alexander Makarov
0596fa82fd
code style fixes
11 years ago
Alexander Makarov
7cd9123c3b
Tests cleanup
...
- Better names
- Removed not used MySQLTestCase
- Moved base testcase for DB to db namespace
- Minor style fixes
12 years ago
Antonio Ramirez
641e6ee7cf
ported inflection methods from StringHelper to Inflector helper class
12 years ago
resurtm
5575f53657
CS fixes.
12 years ago
Carsten Brandt
776162b05e
created StringHelper::basename()
...
In contrast to php function basename() It that always uses \ and /
as directory separator.
It is needed for use on Classnames that contain namespaces.
Fixes #192
12 years ago
Zander Baldwin
4be9e195c2
Add Newlines
...
Appended newlines to every PHP document that did not have a newline as the last character in the file.
12 years ago
Alexander Makarov
9da81894be
moved helper test from util namespace to helpers namespace, added tests for StringHelper
12 years ago