Skip to content

Commit

Permalink
Remove support for deprecated functions (which will be re-added later)
Browse files Browse the repository at this point in the history
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.

-
  • Loading branch information
shish committed Jan 30, 2025
1 parent bd4b5e7 commit f5fe7b1
Show file tree
Hide file tree
Showing 21 changed files with 7 additions and 2,555 deletions.
12 changes: 1 addition & 11 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,10 @@
"lib/DateTime.php",
"lib/DateTimeImmutable.php",
"lib/Exceptions/",
"deprecated/Exceptions/",
"generated/Exceptions/"
],
"files": [
"deprecated/array.php",
"deprecated/datetime.php",
"deprecated/libevent.php",
"deprecated/misc.php",
"deprecated/password.php",
"deprecated/mssql.php",
"deprecated/stats.php",
"deprecated/strings.php",
"lib/special_cases.php",
"deprecated/mysqli.php",
"generated/apache.php",
"generated/apcu.php",
"generated/array.php",
Expand Down Expand Up @@ -111,7 +101,7 @@
"php-parallel-lint/php-parallel-lint": "^1.4"
},
"scripts": {
"lint": "parallel-lint deprecated/ lib/ tests/",
"lint": "parallel-lint lib/ tests/",
"test": "phpunit",
"phpstan": "phpstan analyse",
"cs-fix": "phpcbf",
Expand Down
11 changes: 0 additions & 11 deletions deprecated/Exceptions/LibeventException.php

This file was deleted.

11 changes: 0 additions & 11 deletions deprecated/Exceptions/MssqlException.php

This file was deleted.

11 changes: 0 additions & 11 deletions deprecated/Exceptions/MysqliException.php

This file was deleted.

15 changes: 0 additions & 15 deletions deprecated/Exceptions/PasswordException.php

This file was deleted.

11 changes: 0 additions & 11 deletions deprecated/Exceptions/StatsException.php

This file was deleted.

301 changes: 0 additions & 301 deletions deprecated/array.php

This file was deleted.

Loading

0 comments on commit f5fe7b1

Please sign in to comment.