Skip to content
Permalink
Browse files

[!]: use "patchwork/utf8" && "paragonie/random_compat" v2

  • Loading branch information
Lars Moelleken
Lars Moelleken committed Dec 23, 2015
1 parent 8078385 commit d46683430cb0a400f406f02a8c6644d063a9ef93
Showing with 3 additions and 11 deletions.
  1. +2 −10 src/Normalizer.php
  2. +1 −1 tests/ZNormalizationTest.php
@@ -1,22 +1,14 @@
<?php
/*
* Copyright (C) 2016 Nicolas Grekas - p@tchwork.com
*
* This library is free software; you can redistribute it and/or modify it
* under the terms of the (at your option):
* Apache License v2.0 (http://apache.org/licenses/LICENSE-2.0.txt), or
* GNU General Public License v2.0 (http://gnu.org/licenses/gpl-2.0.txt).
*/
/**
* Normalizer plugs \voku\helper\shim\Normalizer as a PHP implementation
* Normalizer plugs Patchwork\PHP\Shim\Normalizer as a PHP implementation
* of intl's Normalizer when the intl extension in not enabled.
*/
if (!class_exists('Normalizer')) {
/**
* Class Normalizer
*/
class Normalizer extends \voku\helper\shim\Normalizer
class Normalizer extends Patchwork\PHP\Shim\Normalizer
{
}
}
@@ -1,7 +1,7 @@
<?php
//use Normalizer as n;
use voku\helper\shim\Normalizer as n;
use Patchwork\PHP\Shim\Normalizer as n;
/**
* Class ZNormalizationTest

0 comments on commit d466834

Please sign in to comment.
You can’t perform that action at this time.