File tree Expand file tree Collapse file tree 1 file changed +2
-17
lines changed Expand file tree Collapse file tree 1 file changed +2
-17
lines changed Original file line number Diff line number Diff line change 55 *
66 * @copyright (C) 2017 Open Source Matters, Inc. <https://www.joomla.org>
77 * @license GNU General Public License version 2 or later; see LICENSE.txt
8- *
9- * Remove phpcs exception with deprecated constant JCOMPAT_UNICODE_PROPERTIES
10- * @phpcs:disable PSR1.Files.SideEffects
118 */
129
1310namespace Joomla \CMS \Form ;
1411
12+ // phpcs:disable PSR1.Files.SideEffects
1513\defined ('_JEXEC ' ) or die;
14+ // phpcs:enable PSR1.Files.SideEffects
1615
1716use Joomla \Registry \Registry ;
1817
19- // Detect if we have full UTF-8 and unicode PCRE support.
20- if (!\defined ('JCOMPAT_UNICODE_PROPERTIES ' )) {
21- /**
22- * Flag indicating UTF-8 and PCRE support is present
23- *
24- * @const boolean
25- * @since 1.6
26- *
27- * @deprecated 4.0 will be removed in 6.0
28- * Will be removed without replacement (Also remove phpcs exception)
29- */
30- \define ('JCOMPAT_UNICODE_PROPERTIES ' , (bool ) @preg_match ('/\pL/u ' , 'a ' ));
31- }
32-
3318/**
3419 * Form Rule class for the Joomla Platform.
3520 *
You can’t perform that action at this time.
0 commit comments