diff --git a/src/Symfony/Component/Form/Util/FormUtil.php b/src/Symfony/Component/Form/Util/FormUtil.php index 5e8d461698..5aea15a51a 100644 --- a/src/Symfony/Component/Form/Util/FormUtil.php +++ b/src/Symfony/Component/Form/Util/FormUtil.php @@ -14,7 +14,7 @@ namespace Symfony\Component\Form\Util; /** * @author Bernhard Schussek */ -abstract class FormUtil +class FormUtil { /** * Map english plural to singular suffixes @@ -97,6 +97,11 @@ abstract class FormUtil array('xuae', 4, false, true, 'eau'), ); + /** + * This class should not be instantiated + */ + private function __construct() {} + /** * Returns the singular form of a word * diff --git a/src/Symfony/Component/Security/Core/Util/ClassUtils.php b/src/Symfony/Component/Security/Core/Util/ClassUtils.php index 7b583a328c..26bf1a1264 100644 --- a/src/Symfony/Component/Security/Core/Util/ClassUtils.php +++ b/src/Symfony/Component/Security/Core/Util/ClassUtils.php @@ -36,6 +36,11 @@ class ClassUtils */ const MARKER_LENGTH = 6; + /** + * This class should not be instantiated + */ + private function __construct() {} + /** * Gets the real class name of a class name that could be a proxy. * diff --git a/src/Symfony/Component/Security/Core/Util/StringUtils.php b/src/Symfony/Component/Security/Core/Util/StringUtils.php index a73b4715b3..d21efd3279 100644 --- a/src/Symfony/Component/Security/Core/Util/StringUtils.php +++ b/src/Symfony/Component/Security/Core/Util/StringUtils.php @@ -16,11 +16,12 @@ namespace Symfony\Component\Security\Core\Util; * * @author Fabien Potencier */ -final class StringUtils +class StringUtils { - final private function __construct() - { - } + /** + * This class should not be instantiated + */ + private function __construct() {} /** * Compares two strings.