Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit ef70c24

Browse filesBrowse files
committed
Mark internal classes final where possible
1 parent 0475f40 commit ef70c24
Copy full SHA for ef70c24

9 files changed

+9-9Lines changed: 9 additions & 9 deletions

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎src/Iconv/Iconv.php‎

Copy file name to clipboardExpand all lines: src/Iconv/Iconv.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
*
3535
* @internal
3636
*/
37-
class Iconv
37+
final class Iconv
3838
{
3939
const ERROR_ILLEGAL_CHARACTER = 'iconv(): Detected an illegal character in input string';
4040
const ERROR_WRONG_CHARSET = 'iconv(): Wrong charset, conversion from `%s\' to `%s\' is not allowed';
Collapse file

‎src/Intl/Grapheme/Grapheme.php‎

Copy file name to clipboardExpand all lines: src/Intl/Grapheme/Grapheme.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
*
3232
* @internal
3333
*/
34-
class Grapheme
34+
final class Grapheme
3535
{
3636
// (CRLF|([ZWNJ-ZWJ]|T+|L*(LV?V+|LV|LVT)T*|L+|[^Control])[Extend]*|[Control])
3737
// This regular expression is a work around for http://bugs.exim.org/1279
Collapse file

‎src/Mbstring/Mbstring.php‎

Copy file name to clipboardExpand all lines: src/Mbstring/Mbstring.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
*
6161
* @internal
6262
*/
63-
class Mbstring
63+
final class Mbstring
6464
{
6565
const MB_CASE_FOLD = PHP_INT_MAX;
6666

Collapse file

‎src/Php54/Php54.php‎

Copy file name to clipboardExpand all lines: src/Php54/Php54.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
*
1717
* @internal
1818
*/
19-
class Php54
19+
final class Php54
2020
{
2121
public static function hex2bin($data)
2222
{
Collapse file

‎src/Php55/Php55.php‎

Copy file name to clipboardExpand all lines: src/Php55/Php55.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
/**
1515
* @internal
1616
*/
17-
class Php55
17+
final class Php55
1818
{
1919
public static function boolval($val)
2020
{
Collapse file

‎src/Php55/Php55ArrayColumn.php‎

Copy file name to clipboardExpand all lines: src/Php55/Php55ArrayColumn.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
/**
2828
* @internal
2929
*/
30-
class Php55ArrayColumn
30+
final class Php55ArrayColumn
3131
{
3232
public static function array_column(array $input, $columnKey, $indexKey = null)
3333
{
Collapse file

‎src/Php56/Php56.php‎

Copy file name to clipboardExpand all lines: src/Php56/Php56.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
/**
1717
* @internal
1818
*/
19-
class Php56
19+
final class Php56
2020
{
2121
const LDAP_ESCAPE_FILTER = 1;
2222
const LDAP_ESCAPE_DN = 2;
Collapse file

‎src/Php70/Php70.php‎

Copy file name to clipboardExpand all lines: src/Php70/Php70.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
*
1717
* @internal
1818
*/
19-
class Php70
19+
final class Php70
2020
{
2121
public static function intdiv($dividend, $divisor)
2222
{
Collapse file

‎src/Xml/Xml.php‎

Copy file name to clipboardExpand all lines: src/Xml/Xml.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
*
1717
* @internal
1818
*/
19-
class Xml
19+
final class Xml
2020
{
2121
public static function utf8_encode($s)
2222
{

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.