1
0
mirror of https://github.com/danielstjules/Stringy.git synced 2025-08-14 01:04:06 +02:00

36 Commits

Author SHA1 Message Date
Daniel St. Jules
8f40b3495d String is now optional in Stringy constructor 2015-09-02 23:35:32 -07:00
Daniel St. Jules
6667ca1aed Updating examples, adding tests 2015-07-28 23:06:44 -07:00
Daniel St. Jules
fa22b94abf Issue #82: titleize now lowercases, no longer preserves acronyms 2015-07-28 22:21:33 -07:00
Daniel St. Jules
f12b40cc29 Strip leading dashes and underscores with camelize 2015-07-28 22:07:04 -07:00
Daniel St. Jules
b9cf4b6ae3 Added lines 2015-07-25 22:19:36 -07:00
Daniel St. Jules
fe7b54a4e7 Added split 2015-07-25 19:58:50 -07:00
Daniel St. Jules
5e3ac6231c Added slice 2015-07-25 12:59:23 -07:00
Daniel St. Jules
342ef7c3dd Add between 2015-07-24 13:34:50 -07:00
Daniel St. Jules
2d34e72cde Added repeat 2015-07-23 23:53:33 -07:00
Daniel St. Jules
bded15d683 Added toBoolean 2015-07-23 23:40:21 -07:00
Daniel St. Jules
6b74918cc9 Pending tests 2015-07-23 22:47:46 -07:00
Daniel St. Jules
aef6f0c200 Add append and prepend 2015-07-22 23:30:02 -07:00
Daniel St. Jules
0d92d7e810 Remove StaticStringy 2015-07-22 18:15:54 -07:00
Daniel St. Jules
fe3368bd8b Add trimLeft, trimRight, support unicode whitespace 2015-07-22 17:41:19 -07:00
Daniel St. Jules
7763df3c3b Add public delimit() function 2015-07-01 19:25:35 -07:00
Daniel St. Jules
2c295fd15d Merge branch 'indexOf' 2015-06-29 14:56:25 -07:00
Tadeu Bento
9a5601efef Added indexOf and indexOfLast 2015-06-29 14:45:32 -07:00
Daniel St. Jules
e42f165471 Merge branch 'trim' 2015-06-29 13:03:13 -07:00
Heudon
1a2e771ff8 Added $charList and $type to trim function
Adding the option to trim the string with others characters, not only with the default characters provided by php. Also added the option to define the function which will be used to trim the string, if it's normal trim, left trim or right trim
2015-06-29 13:02:09 -07:00
Jarrett Croll
f9729788c4 html encode and decode 2015-06-16 16:20:41 -04:00
vlakoff
97e607dc5d Add $removeUnsupported parameter to toAscii() 2015-02-03 07:12:02 +01:00
Brad Bell
e9cd229808 Add StaticStringy::hasUpperCase, StaticStringy::hasLowerCase, Stringy->hasUpperCase and Stringy->hasLowerCase along with tests. 2015-01-23 15:52:58 -08:00
vlakoff
773477cdd8 Add missing tests in StringyTest
For consistency with StaticStringyTest.
2015-01-06 00:39:31 +01:00
Daniel St. Jules
26a0fed52e Merge and fix containsAll 2014-09-27 09:07:37 -07:00
Daniel St. Jules
1c0026ca00 Cleanup containsAny 2014-09-27 08:42:51 -07:00
Lucas Michot
da5ee7057d Add containsAll 2014-09-23 23:51:27 +02:00
Lucas Michot
410ceac663 Add containsAny 2014-09-23 23:48:28 +02:00
Lucas Michot
bc11fce93e Add assertStringy shortcut 2014-09-23 22:48:14 +02:00
Daniel St. Jules
c577684e0a Renamed toTitleCase 2014-09-14 09:27:46 -07:00
Daniel St. Jules
e46797a9f8 Updated pad methods 2014-03-19 00:40:36 -04:00
Daniel St. Jules
f0805f522d Merge branch 'pr/20' after cleanup 2014-03-18 23:36:52 -04:00
Bilge
6103eca714 Rewrote Stringy::pad to be DRY.
Fixed "Class 'CommonTest' not found" error when running specific tests in PHPUnit by including tests directory in Composer's autoloader.
2014-03-18 23:34:54 -04:00
Daniel St. Jules
7832e22e09 Update require paths in tests 2014-03-09 20:12:53 -04:00
Daniel St. Jules
1965da2e39 Made str and encoding protected, added getEncoding
Neither should be private, so as to allow users to easily extend the
class
2014-02-16 21:22:32 -05:00
Daniel St. Jules
220d4f95c0 Fix indentation in test - it was bugging me 2014-02-12 19:07:38 -05:00
Daniel St. Jules
b3e922c517 Start using PSR-4 2014-02-12 19:02:19 -05:00