This repository has been archived by the owner on Jan 8, 2020. It is now read-only.
Stdlib\StringUtils #3110
Merged
Merged
Stdlib\StringUtils #3110
Changes from 49 commits
Commits
Show all changes
54 commits
Select commit
Hold shift + click to select a range
cd09a59
initial StringUtils
marc-mabe 6c0f698
Merge branch 'master' of git://github.com/zendframework/zf2 into string
marc-mabe 906b5c3
Native string adapter don't need ext/mbstring
marc-mabe 2098c00
StringUtils: tests, no component deps
marc-mabe 696fbec
Merge branch 'master' of git://github.com/zendframework/zf2 into string
marc-mabe 49d8ec4
adapter -> wrapper
marc-mabe 29e0da2
intl string wrapper and some small other changes
marc-mabe 4adbb3d
Merge branch 'develop' of git://github.com/zendframework/zf2 into string
marc-mabe 6b42747
ZendTest namespace
marc-mabe 3dd2d06
StringUtils: phpdoc + cs
marc-mabe b17b3de
StringUtils: phpdoc + cs
marc-mabe 0819967
StringUtils: added tests
marc-mabe 1ebab45
StringUtilsTest: updated phpdoc
marc-mabe 5c89903
StringUtils: cs
marc-mabe 35b91e6
StringUtils: tests + fixes + supported encodings for iconv and mbstring
marc-mabe dde5cf5
StringUtils: wording: charset -> encoding
marc-mabe 1d800eb
fixed wrong typed variable in StringUtils::getWrapper
marc-mabe bdeddca
StringUtils: cs
marc-mabe 9a44514
StringUtils: implemented basic functionality into AbstractStringWrapp…
marc-mabe b831a53
StringUtils: hopefully a little better encoding list
marc-mabe 5f42457
StringUtils: hopefully a little better encoding list
marc-mabe 1c82b00
StringUtils: optimations
marc-mabe 0c998cb
StringUtils: cs
marc-mabe c16b3ef
Updated Zend\Validator to used StringUtils
marc-mabe 954950d
Updated Zend\Mvc to used StringUtils
marc-mabe 7ba3c5f
StringUtils: MbString wrapper use of 'mb_list_encodings'
marc-mabe 6b82989
Updated Zend\Text to use StringUtils and deprecated Zend\Text\MultiByte
marc-mabe d0fa0ad
Updated Zend\Feed to use StringUtils
marc-mabe 0a17816
Zend\Feed: replaced one iconv_strlen with a string wrapper
marc-mabe 90b0367
FIXME: Converting the euro sign from UTF-8 to ISO-8859-16 using the m…
marc-mabe 46ae440
removed trailing spaces
marc-mabe 0eb46d6
Changed API to only check given encoding once and to better support t…
marc-mabe 7721563
Updated consumers after API changes
marc-mabe 85b600e
It's 2013
marc-mabe 54d97d5
else isn't needed, as the previous block returns on completion + remo…
marc-mabe 68b0119
StringWrapper::convert() Renamed second argument to and fixed phpdoc
marc-mabe fca36d1
phpdoc
marc-mabe 9c700c0
Added missing @deprecated
marc-mabe 602787f
The native string wrapper doesn't support to convert between encodings
marc-mabe dbbbeeb
Added note why encodings are typed in case-mix
marc-mabe 97a6da4
added methods get[Convert]Encoding() and removed constructor from int…
marc-mabe de69ead
fixed phpdoc
marc-mabe b394227
psr
marc-mabe 5ef114b
added StringUtils::resetRegisteredWrappers() for testing purposes
marc-mabe adb6827
Global namespace not needed for constants
marc-mabe 170b863
just use $this->encoding
marc-mabe 9811ee1
File and class level docblocks
marc-mabe c5ec8cd
Removed not neccessary variable comversion as there is no strict comp…
marc-mabe e6d514f
Added short describtions on tests using data providers
marc-mabe 4b8897a
added comment for a commented out block
marc-mabe 7f0751a
Use array keys as description for data provider
marc-mabe ad9bf3d
There is no encoding argument of strlen
marc-mabe c3034a1
Make sure StringWrapper::convert don't substring return value on inva…
marc-mabe 0c8ad71
removed unneccissary 'word-wrap-' prefix
marc-mabe File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
22 changes: 22 additions & 0 deletions
22
library/Zend/Stdlib/Exception/ExtensionNotLoadedException.php
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<?php | ||
/** | ||
* Zend Framework (http://framework.zend.com/) | ||
* | ||
* @link http://github.com/zendframework/zf2 for the canonical source repository | ||
* @copyright Copyright (c) 2005-2013 Zend Technologies USA Inc. (http://www.zend.com) | ||
* @license http://framework.zend.com/license/new-bsd New BSD License | ||
* @package Zend_Stdlib | ||
*/ | ||
|
||
namespace Zend\Stdlib\Exception; | ||
|
||
/** | ||
* Extension not loaded exception | ||
* | ||
* @category Zend | ||
* @package Zend_Stdlib | ||
* @subpackage Exception | ||
*/ | ||
class ExtensionNotLoadedException extends RuntimeException | ||
{ | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<?php | ||
/** | ||
* Zend Framework (http://framework.zend.com/) | ||
* | ||
* @link http://github.com/zendframework/zf2 for the canonical source repository | ||
* @copyright Copyright (c) 2005-2013 Zend Technologies USA Inc. (http://www.zend.com) | ||
* @license http://framework.zend.com/license/new-bsd New BSD License | ||
* @package Zend_Stdlib | ||
*/ | ||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Needs file and class level docblocks. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. done |
||
namespace Zend\Stdlib\Exception; | ||
|
||
/** | ||
* Runtime exception | ||
* | ||
* @category Zend | ||
* @package Zend_Stdlib | ||
* @subpackage Exception | ||
*/ | ||
class RuntimeException extends \RuntimeException implements ExceptionInterface | ||
{ | ||
} |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needs file and class level docblocks.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done