Skip to content

Commit 3a96e18

Browse files
committed
Remove support for deprecated functions (which will be re-added later)
Trying to make #503 easier to review - that PR removes manual deprecation and implements automatic deprecation; but removing manual deprecation _can_ be done by itself, and doing so means that the #503 diff can be a bit smaller. -
1 parent 434c148 commit 3a96e18

21 files changed

+7
-2558
lines changed

composer.json

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,10 @@
77
"lib/DateTime.php",
88
"lib/DateTimeImmutable.php",
99
"lib/Exceptions/",
10-
"deprecated/Exceptions/",
1110
"generated/Exceptions/"
1211
],
1312
"files": [
14-
"deprecated/array.php",
15-
"deprecated/datetime.php",
16-
"deprecated/libevent.php",
17-
"deprecated/misc.php",
18-
"deprecated/password.php",
19-
"deprecated/mssql.php",
20-
"deprecated/stats.php",
21-
"deprecated/strings.php",
2213
"lib/special_cases.php",
23-
"deprecated/mysqli.php",
2414
"generated/apache.php",
2515
"generated/apcu.php",
2616
"generated/array.php",
@@ -111,7 +101,7 @@
111101
"php-parallel-lint/php-parallel-lint": "^1.4"
112102
},
113103
"scripts": {
114-
"lint": "parallel-lint deprecated/ lib/ tests/",
104+
"lint": "parallel-lint lib/ tests/",
115105
"test": "phpunit",
116106
"phpstan": "phpstan analyse",
117107
"cs-fix": "phpcbf",

deprecated/Exceptions/LibeventException.php

Lines changed: 0 additions & 11 deletions
This file was deleted.

deprecated/Exceptions/MssqlException.php

Lines changed: 0 additions & 11 deletions
This file was deleted.

deprecated/Exceptions/MysqliException.php

Lines changed: 0 additions & 11 deletions
This file was deleted.

deprecated/Exceptions/PasswordException.php

Lines changed: 0 additions & 15 deletions
This file was deleted.

deprecated/Exceptions/StatsException.php

Lines changed: 0 additions & 11 deletions
This file was deleted.

deprecated/array.php

Lines changed: 0 additions & 301 deletions
This file was deleted.

0 commit comments

Comments
 (0)