Last active
July 15, 2026 22:07
-
-
Save jrfnl/bf2b5fb4ef1f836db2d8d84ee4828dc2 to your computer and use it in GitHub Desktop.
Impact analysis proposed PHP 8.6 deprecation of _() as function name and alias on Packagist top 4000
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| The results of checking for "Deprecate using "_" as a constant and compile time alias" and | |
| "Deprecate using "_" as a function name and the _() function alias for gettext()" are a little entangled. | |
| The check & results in this gist should be reviewed in conjunction with gist https://gist.github.com/jrfnl/f7ad1aad5842187e44c16be2f34ad9eb |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0"?> | |
| <ruleset name="Impact check for https://wiki.php.net/rfc/deprecations_php_8_6"> | |
| <!-- This ruleset should only be used in conjunction with PHPCompatibility at commit | |
| https://github.com/PHPCompatibility/PHPCompatibility/commit/cc67a3824dda9612896f5892c2d6d9408fa20d77 --> | |
| <file>sources</file> | |
| <arg name="extensions" value="php"/> | |
| <arg value="ps"/> | |
| <arg name="basepath" value="./sources/"/> | |
| <arg name="parallel" value="8"/> | |
| <arg name="no-colors"/> | |
| <arg name="ignore-annotations"/> | |
| <arg name="report" value="code,summary,source"/> | |
| <exclude-pattern>*/vendor/*</exclude-pattern> | |
| <exclude-pattern>*/node_modules/*</exclude-pattern> | |
| <!-- We are specifically and only checking for the PHP 8.6 deprecation(s). --> | |
| <config name="testVersion" value="8.6"/> | |
| <rule ref="PHPCompatibility.FunctionUse.RemovedFunctions._Deprecated"/> | |
| <rule ref="Internal.NoCodeFound"> | |
| <severity>0</severity> | |
| </rule> | |
| <rule ref="Internal.LineEndings.Mixed"> | |
| <severity>0</severity> | |
| </rule> | |
| </ruleset> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| PHP CODE SNIFFER VIOLATION SOURCE SUMMARY | |
| ---------------------------------------------------------------------- | |
| SOURCE COUNT | |
| ---------------------------------------------------------------------- | |
| PHPCompatibility.FunctionUse.RemovedFunctions._Deprecated 96 | |
| ---------------------------------------------------------------------- | |
| A TOTAL OF 96 SNIFF VIOLATIONS WERE FOUND IN 1 SOURCE | |
| ---------------------------------------------------------------------- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| PHP CODE SNIFFER REPORT SUMMARY | |
| --------------------------------------------------------------------------------------------------------------------------- | |
| FILE ERRORS WARNINGS | |
| --------------------------------------------------------------------------------------------------------------------------- | |
| johnpbloch\wordpress-core--7.0.0\wp-includes\class-pop3.php 0 38 | |
| klaviyo\magento2-extension--5.0.0\Model\Reclaim.php 0 2 | |
| laravel-json-api\neomerx-json-api--v5.0.3\src\Parser\Parser.php 0 2 | |
| laravel-json-api\neomerx-json-api--v5.0.3\src\Parser\RelationshipData\ParseRelationshipDataTrait.php 0 1 | |
| laravel-json-api\neomerx-json-api--v5.0.3\src\Parser\RelationshipData\RelationshipDataIsCollection.php 0 2 | |
| laravel-json-api\neomerx-json-api--v5.0.3\src\Parser\RelationshipData\RelationshipDataIsIdentifier.php 0 3 | |
| laravel-json-api\neomerx-json-api--v5.0.3\src\Parser\RelationshipData\RelationshipDataIsNull.php 0 4 | |
| laravel-json-api\neomerx-json-api--v5.0.3\src\Parser\RelationshipData\RelationshipDataIsResource.php 0 3 | |
| laravel-json-api\neomerx-json-api--v5.0.3\src\Schema\SchemaContainer.php 0 3 | |
| roots\wordpress-no-content--7.0\wp-includes\class-pop3.php 0 38 | |
| --------------------------------------------------------------------------------------------------------------------------- | |
| A TOTAL OF 0 ERRORS AND 96 WARNINGS WERE FOUND IN 10 FILES | |
| --------------------------------------------------------------------------------------------------------------------------- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FILE: johnpbloch\wordpress-core--7.0.0\wp-includes\class-pop3.php | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| FOUND 0 ERRORS AND 38 WARNINGS AFFECTING 36 LINES | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| LINE 96: WARNING Function _() is deprecated since PHP 8.6; Use gettext() instead (PHPCompatibility.FunctionUse.RemovedFunctions._Deprecated) | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| 94: | |
| 95: if(empty($server)){ | |
| >> 96: $this->ERROR = "POP3 connect: " . _("No server specified"); | |
| 97: unset($this->FP); | |
| 98: return false; | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| LINE 104: WARNING Function _() is deprecated since PHP 8.6; Use gettext() instead (PHPCompatibility.FunctionUse.RemovedFunctions._Deprecated) | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| 102: | |
| 103: if(!$fp) { | |
| >> 104: $this->ERROR = "POP3 connect: " . _("Error ") . "[$errno] [$errstr]"; | |
| 105: unset($this->FP); | |
| 106: return false; | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| LINE 116: WARNING Function _() is deprecated since PHP 8.6; Use gettext() instead (PHPCompatibility.FunctionUse.RemovedFunctions._Deprecated) | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| 114: error_log("POP3 SEND [connect: $server] GOT [$reply]",0); | |
| 115: if(!$this->is_ok($reply)) { | |
| >> 116: $this->ERROR = "POP3 connect: " . _("Error ") . "[$reply]"; | |
| 117: unset($this->FP); | |
| 118: return false; | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| LINE 129: WARNING Function _() is deprecated since PHP 8.6; Use gettext() instead (PHPCompatibility.FunctionUse.RemovedFunctions._Deprecated) | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| 127: | |
| 128: if( empty($user) ) { | |
| >> 129: $this->ERROR = "POP3 user: " . _("no login ID submitted"); | |
| 130: return false; | |
| 131: } elseif(!isset($this->FP)) { | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| LINE 132: WARNING Function _() is deprecated since PHP 8.6; Use gettext() instead (PHPCompatibility.FunctionUse.RemovedFunctions._Deprecated) | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| 130: return false; | |
| 131: } elseif(!isset($this->FP)) { | |
| >> 132: $this->ERROR = "POP3 user: " . _("connection not established"); | |
| 133: return false; | |
| 134: } else { | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| LINE 137: WARNING Function _() is deprecated since PHP 8.6; Use gettext() instead (PHPCompatibility.FunctionUse.RemovedFunctions._Deprecated) | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| 135: $reply = $this->send_cmd("USER $user"); | |
| 136: if(!$this->is_ok($reply)) { | |
| >> 137: $this->ERROR = "POP3 user: " . _("Error ") . "[$reply]"; | |
| 138: return false; | |
| 139: } else | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| LINE 149: WARNING Function _() is deprecated since PHP 8.6; Use gettext() instead (PHPCompatibility.FunctionUse.RemovedFunctions._Deprecated) | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| 147: | |
| 148: if(empty($pass)) { | |
| >> 149: $this->ERROR = "POP3 pass: " . _("No password submitted"); | |
| 150: return false; | |
| 151: } elseif(!isset($this->FP)) { | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| LINE 152: WARNING Function _() is deprecated since PHP 8.6; Use gettext() instead (PHPCompatibility.FunctionUse.RemovedFunctions._Deprecated) | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| 150: return false; | |
| 151: } elseif(!isset($this->FP)) { | |
| >> 152: $this->ERROR = "POP3 pass: " . _("connection not established"); | |
| 153: return false; | |
| 154: } else { | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| LINE 157: WARNING Function _() is deprecated since PHP 8.6; Use gettext() instead (PHPCompatibility.FunctionUse.RemovedFunctions._Deprecated) | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| 155: $reply = $this->send_cmd("PASS $pass"); | |
| 156: if(!$this->is_ok($reply)) { | |
| >> 157: $this->ERROR = "POP3 pass: " . _("Authentication failed") . " [$reply]"; | |
| 158: $this->quit(); | |
| 159: return false; | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| LINE 176: WARNING Function _() is deprecated since PHP 8.6; Use gettext() instead (PHPCompatibility.FunctionUse.RemovedFunctions._Deprecated) | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| 174: | |
| 175: if(!isset($this->FP)) { | |
| >> 176: $this->ERROR = "POP3 apop: " . _("No connection to server"); | |
| 177: return false; | |
| 178: } elseif(!$this->ALLOWAPOP) { | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| LINE 182: WARNING Function _() is deprecated since PHP 8.6; Use gettext() instead (PHPCompatibility.FunctionUse.RemovedFunctions._Deprecated) | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| 180: return $retVal; | |
| 181: } elseif(empty($login)) { | |
| >> 182: $this->ERROR = "POP3 apop: " . _("No login ID submitted"); | |
| 183: return false; | |
| 184: } elseif(empty($pass)) { | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| LINE 185: WARNING Function _() is deprecated since PHP 8.6; Use gettext() instead (PHPCompatibility.FunctionUse.RemovedFunctions._Deprecated) | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| 183: return false; | |
| 184: } elseif(empty($pass)) { | |
| >> 185: $this->ERROR = "POP3 apop: " . _("No password submitted"); | |
| 186: return false; | |
| 187: } else { | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| LINE 190: WARNING Function _() is deprecated since PHP 8.6; Use gettext() instead (PHPCompatibility.FunctionUse.RemovedFunctions._Deprecated) | |
| LINE 190: WARNING Function _() is deprecated since PHP 8.6; Use gettext() instead (PHPCompatibility.FunctionUse.RemovedFunctions._Deprecated) | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| 188: $banner = $this->BANNER; | |
| 189: if( (!$banner) or (empty($banner)) ) { | |
| >> 190: $this->ERROR = "POP3 apop: " . _("No server banner") . ' - ' . _("abort"); | |
| 191: $retVal = $this->login($login,$pass); | |
| 192: return $retVal; | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| LINE 200: WARNING Function _() is deprecated since PHP 8.6; Use gettext() instead (PHPCompatibility.FunctionUse.RemovedFunctions._Deprecated) | |
| LINE 200: WARNING Function _() is deprecated since PHP 8.6; Use gettext() instead (PHPCompatibility.FunctionUse.RemovedFunctions._Deprecated) | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| 198: $reply = $this->send_cmd($cmd); | |
| 199: if(!$this->is_ok($reply)) { | |
| >> 200: $this->ERROR = "POP3 apop: " . _("apop authentication failed") . ' - ' . _("abort"); | |
| 201: $retVal = $this->login($login,$pass); | |
| 202: return $retVal; | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| LINE 219: WARNING Function _() is deprecated since PHP 8.6; Use gettext() instead (PHPCompatibility.FunctionUse.RemovedFunctions._Deprecated) | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| 217: | |
| 218: if( !isset($this->FP) ) { | |
| >> 219: $this->ERROR = "POP3 login: " . _("No connection to server"); | |
| 220: return false; | |
| 221: } else { | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| LINE 244: WARNING Function _() is deprecated since PHP 8.6; Use gettext() instead (PHPCompatibility.FunctionUse.RemovedFunctions._Deprecated) | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| 242: | |
| 243: if(!isset($this->FP)) { | |
| >> 244: $this->ERROR = "POP3 top: " . _("No connection to server"); | |
| 245: return false; | |
| 246: } | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| LINE 260: WARNING Function _() is deprecated since PHP 8.6; Use gettext() instead (PHPCompatibility.FunctionUse.RemovedFunctions._Deprecated) | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| 258: if(!$this->is_ok($reply)) | |
| 259: { | |
| >> 260: $this->ERROR = "POP3 top: " . _("Error ") . "[$reply]"; | |
| 261: return false; | |
| 262: } | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| LINE 286: WARNING Function _() is deprecated since PHP 8.6; Use gettext() instead (PHPCompatibility.FunctionUse.RemovedFunctions._Deprecated) | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| 284: if(!isset($this->FP)) | |
| 285: { | |
| >> 286: $this->ERROR = "POP3 pop_list: " . _("No connection to server"); | |
| 287: return false; | |
| 288: } | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| LINE 314: WARNING Function _() is deprecated since PHP 8.6; Use gettext() instead (PHPCompatibility.FunctionUse.RemovedFunctions._Deprecated) | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| 312: if(!$this->is_ok($reply)) | |
| 313: { | |
| >> 314: $this->ERROR = "POP3 pop_list: " . _("Error ") . "[$reply]"; | |
| 315: return false; | |
| 316: } | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| LINE 325: WARNING Function _() is deprecated since PHP 8.6; Use gettext() instead (PHPCompatibility.FunctionUse.RemovedFunctions._Deprecated) | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| 323: { | |
| 324: $reply = $this->strip_clf($reply); | |
| >> 325: $this->ERROR = "POP3 pop_list: " . _("Error ") . "[$reply]"; | |
| 326: return false; | |
| 327: } | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| LINE 337: WARNING Function _() is deprecated since PHP 8.6; Use gettext() instead (PHPCompatibility.FunctionUse.RemovedFunctions._Deprecated) | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| 335: if(strpos($line, '.') === 0) | |
| 336: { | |
| >> 337: $this->ERROR = "POP3 pop_list: " . _("Premature end of list"); | |
| 338: return false; | |
| 339: } | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| LINE 360: WARNING Function _() is deprecated since PHP 8.6; Use gettext() instead (PHPCompatibility.FunctionUse.RemovedFunctions._Deprecated) | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| 358: if(!isset($this->FP)) | |
| 359: { | |
| >> 360: $this->ERROR = "POP3 get: " . _("No connection to server"); | |
| 361: return false; | |
| 362: } | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| LINE 373: WARNING Function _() is deprecated since PHP 8.6; Use gettext() instead (PHPCompatibility.FunctionUse.RemovedFunctions._Deprecated) | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| 371: if(!$this->is_ok($reply)) | |
| 372: { | |
| >> 373: $this->ERROR = "POP3 get: " . _("Error ") . "[$reply]"; | |
| 374: return false; | |
| 375: } | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| LINE 400: WARNING Function _() is deprecated since PHP 8.6; Use gettext() instead (PHPCompatibility.FunctionUse.RemovedFunctions._Deprecated) | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| 398: if(!isset($this->FP)) | |
| 399: { | |
| >> 400: $this->ERROR = "POP3 last: " . _("No connection to server"); | |
| 401: return $last; | |
| 402: } | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| LINE 407: WARNING Function _() is deprecated since PHP 8.6; Use gettext() instead (PHPCompatibility.FunctionUse.RemovedFunctions._Deprecated) | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| 405: if(!$this->is_ok($reply)) | |
| 406: { | |
| >> 407: $this->ERROR = "POP3 last: " . _("Error ") . "[$reply]"; | |
| 408: return $last; | |
| 409: } | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| LINE 430: WARNING Function _() is deprecated since PHP 8.6; Use gettext() instead (PHPCompatibility.FunctionUse.RemovedFunctions._Deprecated) | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| 428: if(!isset($this->FP)) | |
| 429: { | |
| >> 430: $this->ERROR = "POP3 reset: " . _("No connection to server"); | |
| 431: return false; | |
| 432: } | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| LINE 440: WARNING Function _() is deprecated since PHP 8.6; Use gettext() instead (PHPCompatibility.FunctionUse.RemovedFunctions._Deprecated) | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| 438: // wild is going on. | |
| 439: | |
| >> 440: $this->ERROR = "POP3 reset: " . _("Error ") . "[$reply]"; | |
| 441: @error_log("POP3 reset: ERROR [$reply]",0); | |
| 442: } | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| LINE 464: WARNING Function _() is deprecated since PHP 8.6; Use gettext() instead (PHPCompatibility.FunctionUse.RemovedFunctions._Deprecated) | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| 462: if(!isset($this->FP)) | |
| 463: { | |
| >> 464: $this->ERROR = "POP3 send_cmd: " . _("No connection to server"); | |
| 465: return false; | |
| 466: } | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| LINE 470: WARNING Function _() is deprecated since PHP 8.6; Use gettext() instead (PHPCompatibility.FunctionUse.RemovedFunctions._Deprecated) | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| 468: if(empty($cmd)) | |
| 469: { | |
| >> 470: $this->ERROR = "POP3 send_cmd: " . _("Empty command string"); | |
| 471: return ""; | |
| 472: } | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| LINE 490: WARNING Function _() is deprecated since PHP 8.6; Use gettext() instead (PHPCompatibility.FunctionUse.RemovedFunctions._Deprecated) | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| 488: if(!isset($this->FP)) | |
| 489: { | |
| >> 490: $this->ERROR = "POP3 quit: " . _("connection does not exist"); | |
| 491: return false; | |
| 492: } | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| LINE 527: WARNING Function _() is deprecated since PHP 8.6; Use gettext() instead (PHPCompatibility.FunctionUse.RemovedFunctions._Deprecated) | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| 525: | |
| 526: if(!isset($this->FP)) { | |
| >> 527: $this->ERROR = "POP3 uidl: " . _("No connection to server"); | |
| 528: return false; | |
| 529: } | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| LINE 539: WARNING Function _() is deprecated since PHP 8.6; Use gettext() instead (PHPCompatibility.FunctionUse.RemovedFunctions._Deprecated) | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| 537: if(!$this->is_ok($reply)) | |
| 538: { | |
| >> 539: $this->ERROR = "POP3 uidl: " . _("Error ") . "[$reply]"; | |
| 540: return false; | |
| 541: } | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| LINE 562: WARNING Function _() is deprecated since PHP 8.6; Use gettext() instead (PHPCompatibility.FunctionUse.RemovedFunctions._Deprecated) | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| 560: if(!$this->is_ok($reply)) | |
| 561: { | |
| >> 562: $this->ERROR = "POP3 uidl: " . _("Error ") . "[$reply]"; | |
| 563: return false; | |
| 564: } | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| LINE 592: WARNING Function _() is deprecated since PHP 8.6; Use gettext() instead (PHPCompatibility.FunctionUse.RemovedFunctions._Deprecated) | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| 590: if(!isset($this->FP)) | |
| 591: { | |
| >> 592: $this->ERROR = "POP3 delete: " . _("No connection to server"); | |
| 593: return false; | |
| 594: } | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| LINE 597: WARNING Function _() is deprecated since PHP 8.6; Use gettext() instead (PHPCompatibility.FunctionUse.RemovedFunctions._Deprecated) | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| 595: if(empty($msgNum)) | |
| 596: { | |
| >> 597: $this->ERROR = "POP3 delete: " . _("No msg number submitted"); | |
| 598: return false; | |
| 599: } | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| LINE 603: WARNING Function _() is deprecated since PHP 8.6; Use gettext() instead (PHPCompatibility.FunctionUse.RemovedFunctions._Deprecated) | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| 601: if(!$this->is_ok($reply)) | |
| 602: { | |
| >> 603: $this->ERROR = "POP3 delete: " . _("Command failed ") . "[$reply]"; | |
| 604: return false; | |
| 605: } | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| FILE: klaviyo\magento2-extension--5.0.0\Model\Reclaim.php | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| LINE 261: WARNING Function _() is deprecated since PHP 8.6; Use gettext() instead (PHPCompatibility.FunctionUse.RemovedFunctions._Deprecated) | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| 259: { | |
| 260: if (!$product_id) { | |
| >> 261: throw new NotFoundException(_('A product id is required')); | |
| 262: } | |
| 263: // if store_id is specified, use it | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| LINE 271: WARNING Function _() is deprecated since PHP 8.6; Use gettext() instead (PHPCompatibility.FunctionUse.RemovedFunctions._Deprecated) | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| 269: | |
| 270: if (!$product) { | |
| >> 271: throw new NotFoundException(_('A product with id ' . $product_id . ' was not found')); | |
| 272: } | |
| 273: | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| FILE: laravel-json-api\neomerx-json-api--v5.0.3\src\Parser\Parser.php | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| LINE 135: WARNING Function _() is deprecated since PHP 8.6; Use gettext() instead (PHPCompatibility.FunctionUse.RemovedFunctions._Deprecated) | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| 133: yield $this->createDocumentDataIsNull($rootPosition); | |
| 134: } else { | |
| >> 135: throw new InvalidArgumentException(_(static::MSG_NO_SCHEMA_FOUND, \get_class($data))); | |
| 136: } | |
| 137: } | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| LINE 177: WARNING Function _() is deprecated since PHP 8.6; Use gettext() instead (PHPCompatibility.FunctionUse.RemovedFunctions._Deprecated) | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| 175: protected function getNormalizedPaths(): array | |
| 176: { | |
| >> 177: \assert($this->paths !== null, _(static::MSG_PATHS_HAVE_NOT_BEEN_NORMALIZED_YET)); | |
| 178: | |
| 179: return $this->paths; | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| FILE: laravel-json-api\neomerx-json-api--v5.0.3\src\Parser\RelationshipData\ParseRelationshipDataTrait.php | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| LINE 129: WARNING Function _() is deprecated since PHP 8.6; Use gettext() instead (PHPCompatibility.FunctionUse.RemovedFunctions._Deprecated) | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| 127: | |
| 128: throw new InvalidArgumentException( | |
| >> 129: _(IdentifierAndResource::MSG_NO_SCHEMA_FOUND, \get_class($data), $position->getPath()) | |
| 130: ); | |
| 131: } | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| FILE: laravel-json-api\neomerx-json-api--v5.0.3\src\Parser\RelationshipData\RelationshipDataIsCollection.php | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| LINE 106: WARNING Function _() is deprecated since PHP 8.6; Use gettext() instead (PHPCompatibility.FunctionUse.RemovedFunctions._Deprecated) | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| 104: public function getIdentifier(): ParserIdentifierInterface | |
| 105: { | |
| >> 106: throw new LogicException(_(static::MSG_INVALID_OPERATION)); | |
| 107: } | |
| 108: | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| LINE 122: WARNING Function _() is deprecated since PHP 8.6; Use gettext() instead (PHPCompatibility.FunctionUse.RemovedFunctions._Deprecated) | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| 120: public function getResource(): ResourceInterface | |
| 121: { | |
| >> 122: throw new LogicException(_(static::MSG_INVALID_OPERATION)); | |
| 123: } | |
| 124: | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| FILE: laravel-json-api\neomerx-json-api--v5.0.3\src\Parser\RelationshipData\RelationshipDataIsIdentifier.php | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| FOUND 0 ERRORS AND 3 WARNINGS AFFECTING 3 LINES | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| LINE 118: WARNING Function _() is deprecated since PHP 8.6; Use gettext() instead (PHPCompatibility.FunctionUse.RemovedFunctions._Deprecated) | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| 116: public function getIdentifiers(): iterable | |
| 117: { | |
| >> 118: throw new LogicException(_(static::MSG_INVALID_OPERATION)); | |
| 119: } | |
| 120: | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| LINE 126: WARNING Function _() is deprecated since PHP 8.6; Use gettext() instead (PHPCompatibility.FunctionUse.RemovedFunctions._Deprecated) | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| 124: public function getResource(): ResourceInterface | |
| 125: { | |
| >> 126: throw new LogicException(_(static::MSG_INVALID_OPERATION)); | |
| 127: } | |
| 128: | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| LINE 134: WARNING Function _() is deprecated since PHP 8.6; Use gettext() instead (PHPCompatibility.FunctionUse.RemovedFunctions._Deprecated) | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| 132: public function getResources(): iterable | |
| 133: { | |
| >> 134: throw new LogicException(_(static::MSG_INVALID_OPERATION)); | |
| 135: } | |
| 136: } | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| FILE: laravel-json-api\neomerx-json-api--v5.0.3\src\Parser\RelationshipData\RelationshipDataIsNull.php | |
| --------------------------------------------------------------------------------------------------------------------------------------------- | |
| FOUND 0 ERRORS AND 4 WARNINGS AFFECTING 4 LINES | |
| --------------------------------------------------------------------------------------------------------------------------------------------- | |
| LINE 72: WARNING Function _() is deprecated since PHP 8.6; Use gettext() instead (PHPCompatibility.FunctionUse.RemovedFunctions._Deprecated) | |
| --------------------------------------------------------------------------------------------------------------------------------------------- | |
| 70: public function getIdentifier(): IdentifierInterface | |
| 71: { | |
| >> 72: throw new LogicException(_(static::MSG_INVALID_OPERATION)); | |
| 73: } | |
| 74: | |
| --------------------------------------------------------------------------------------------------------------------------------------------- | |
| LINE 80: WARNING Function _() is deprecated since PHP 8.6; Use gettext() instead (PHPCompatibility.FunctionUse.RemovedFunctions._Deprecated) | |
| --------------------------------------------------------------------------------------------------------------------------------------------- | |
| 78: public function getIdentifiers(): iterable | |
| 79: { | |
| >> 80: throw new LogicException(_(static::MSG_INVALID_OPERATION)); | |
| 81: } | |
| 82: | |
| --------------------------------------------------------------------------------------------------------------------------------------------- | |
| LINE 88: WARNING Function _() is deprecated since PHP 8.6; Use gettext() instead (PHPCompatibility.FunctionUse.RemovedFunctions._Deprecated) | |
| --------------------------------------------------------------------------------------------------------------------------------------------- | |
| 86: public function getResource(): ResourceInterface | |
| 87: { | |
| >> 88: throw new LogicException(_(static::MSG_INVALID_OPERATION)); | |
| 89: } | |
| 90: | |
| --------------------------------------------------------------------------------------------------------------------------------------------- | |
| LINE 96: WARNING Function _() is deprecated since PHP 8.6; Use gettext() instead (PHPCompatibility.FunctionUse.RemovedFunctions._Deprecated) | |
| --------------------------------------------------------------------------------------------------------------------------------------------- | |
| 94: public function getResources(): iterable | |
| 95: { | |
| >> 96: throw new LogicException(_(static::MSG_INVALID_OPERATION)); | |
| 97: } | |
| 98: } | |
| --------------------------------------------------------------------------------------------------------------------------------------------- | |
| FILE: laravel-json-api\neomerx-json-api--v5.0.3\src\Parser\RelationshipData\RelationshipDataIsResource.php | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| FOUND 0 ERRORS AND 3 WARNINGS AFFECTING 3 LINES | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| LINE 105: WARNING Function _() is deprecated since PHP 8.6; Use gettext() instead (PHPCompatibility.FunctionUse.RemovedFunctions._Deprecated) | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| 103: public function getIdentifier(): IdentifierInterface | |
| 104: { | |
| >> 105: throw new LogicException(_(static::MSG_INVALID_OPERATION)); | |
| 106: } | |
| 107: | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| LINE 113: WARNING Function _() is deprecated since PHP 8.6; Use gettext() instead (PHPCompatibility.FunctionUse.RemovedFunctions._Deprecated) | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| 111: public function getIdentifiers(): iterable | |
| 112: { | |
| >> 113: throw new LogicException(_(static::MSG_INVALID_OPERATION)); | |
| 114: } | |
| 115: | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| LINE 133: WARNING Function _() is deprecated since PHP 8.6; Use gettext() instead (PHPCompatibility.FunctionUse.RemovedFunctions._Deprecated) | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| 131: public function getResources(): iterable | |
| 132: { | |
| >> 133: throw new LogicException(_(static::MSG_INVALID_OPERATION)); | |
| 134: } | |
| 135: } | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| FILE: laravel-json-api\neomerx-json-api--v5.0.3\src\Schema\SchemaContainer.php | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| FOUND 0 ERRORS AND 3 WARNINGS AFFECTING 3 LINES | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| LINE 93: WARNING Function _() is deprecated since PHP 8.6; Use gettext() instead (PHPCompatibility.FunctionUse.RemovedFunctions._Deprecated) | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| 91: { | |
| 92: if (empty($type) === true || \class_exists($type) === false) { | |
| >> 93: throw new InvalidArgumentException(_(static::MSG_INVALID_MODEL_TYPE)); | |
| 94: } | |
| 95: | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| LINE 107: WARNING Function _() is deprecated since PHP 8.6; Use gettext() instead (PHPCompatibility.FunctionUse.RemovedFunctions._Deprecated) | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| 105: ); | |
| 106: if ($isOk === false) { | |
| >> 107: throw new InvalidArgumentException(_(static::MSG_INVALID_SCHEME, $type)); | |
| 108: } | |
| 109: | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| LINE 111: WARNING Function _() is deprecated since PHP 8.6; Use gettext() instead (PHPCompatibility.FunctionUse.RemovedFunctions._Deprecated) | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| 109: | |
| 110: if ($this->hasProviderMapping($type) === true) { | |
| >> 111: throw new InvalidArgumentException(_(static::MSG_TYPE_REUSE_FORBIDDEN, $type)); | |
| 112: } | |
| 113: | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| FILE: roots\wordpress-no-content--7.0\wp-includes\class-pop3.php | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| FOUND 0 ERRORS AND 38 WARNINGS AFFECTING 36 LINES | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| LINE 96: WARNING Function _() is deprecated since PHP 8.6; Use gettext() instead (PHPCompatibility.FunctionUse.RemovedFunctions._Deprecated) | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| 94: | |
| 95: if(empty($server)){ | |
| >> 96: $this->ERROR = "POP3 connect: " . _("No server specified"); | |
| 97: unset($this->FP); | |
| 98: return false; | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| LINE 104: WARNING Function _() is deprecated since PHP 8.6; Use gettext() instead (PHPCompatibility.FunctionUse.RemovedFunctions._Deprecated) | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| 102: | |
| 103: if(!$fp) { | |
| >> 104: $this->ERROR = "POP3 connect: " . _("Error ") . "[$errno] [$errstr]"; | |
| 105: unset($this->FP); | |
| 106: return false; | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| LINE 116: WARNING Function _() is deprecated since PHP 8.6; Use gettext() instead (PHPCompatibility.FunctionUse.RemovedFunctions._Deprecated) | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| 114: error_log("POP3 SEND [connect: $server] GOT [$reply]",0); | |
| 115: if(!$this->is_ok($reply)) { | |
| >> 116: $this->ERROR = "POP3 connect: " . _("Error ") . "[$reply]"; | |
| 117: unset($this->FP); | |
| 118: return false; | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| LINE 129: WARNING Function _() is deprecated since PHP 8.6; Use gettext() instead (PHPCompatibility.FunctionUse.RemovedFunctions._Deprecated) | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| 127: | |
| 128: if( empty($user) ) { | |
| >> 129: $this->ERROR = "POP3 user: " . _("no login ID submitted"); | |
| 130: return false; | |
| 131: } elseif(!isset($this->FP)) { | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| LINE 132: WARNING Function _() is deprecated since PHP 8.6; Use gettext() instead (PHPCompatibility.FunctionUse.RemovedFunctions._Deprecated) | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| 130: return false; | |
| 131: } elseif(!isset($this->FP)) { | |
| >> 132: $this->ERROR = "POP3 user: " . _("connection not established"); | |
| 133: return false; | |
| 134: } else { | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| LINE 137: WARNING Function _() is deprecated since PHP 8.6; Use gettext() instead (PHPCompatibility.FunctionUse.RemovedFunctions._Deprecated) | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| 135: $reply = $this->send_cmd("USER $user"); | |
| 136: if(!$this->is_ok($reply)) { | |
| >> 137: $this->ERROR = "POP3 user: " . _("Error ") . "[$reply]"; | |
| 138: return false; | |
| 139: } else | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| LINE 149: WARNING Function _() is deprecated since PHP 8.6; Use gettext() instead (PHPCompatibility.FunctionUse.RemovedFunctions._Deprecated) | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| 147: | |
| 148: if(empty($pass)) { | |
| >> 149: $this->ERROR = "POP3 pass: " . _("No password submitted"); | |
| 150: return false; | |
| 151: } elseif(!isset($this->FP)) { | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| LINE 152: WARNING Function _() is deprecated since PHP 8.6; Use gettext() instead (PHPCompatibility.FunctionUse.RemovedFunctions._Deprecated) | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| 150: return false; | |
| 151: } elseif(!isset($this->FP)) { | |
| >> 152: $this->ERROR = "POP3 pass: " . _("connection not established"); | |
| 153: return false; | |
| 154: } else { | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| LINE 157: WARNING Function _() is deprecated since PHP 8.6; Use gettext() instead (PHPCompatibility.FunctionUse.RemovedFunctions._Deprecated) | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| 155: $reply = $this->send_cmd("PASS $pass"); | |
| 156: if(!$this->is_ok($reply)) { | |
| >> 157: $this->ERROR = "POP3 pass: " . _("Authentication failed") . " [$reply]"; | |
| 158: $this->quit(); | |
| 159: return false; | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| LINE 176: WARNING Function _() is deprecated since PHP 8.6; Use gettext() instead (PHPCompatibility.FunctionUse.RemovedFunctions._Deprecated) | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| 174: | |
| 175: if(!isset($this->FP)) { | |
| >> 176: $this->ERROR = "POP3 apop: " . _("No connection to server"); | |
| 177: return false; | |
| 178: } elseif(!$this->ALLOWAPOP) { | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| LINE 182: WARNING Function _() is deprecated since PHP 8.6; Use gettext() instead (PHPCompatibility.FunctionUse.RemovedFunctions._Deprecated) | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| 180: return $retVal; | |
| 181: } elseif(empty($login)) { | |
| >> 182: $this->ERROR = "POP3 apop: " . _("No login ID submitted"); | |
| 183: return false; | |
| 184: } elseif(empty($pass)) { | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| LINE 185: WARNING Function _() is deprecated since PHP 8.6; Use gettext() instead (PHPCompatibility.FunctionUse.RemovedFunctions._Deprecated) | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| 183: return false; | |
| 184: } elseif(empty($pass)) { | |
| >> 185: $this->ERROR = "POP3 apop: " . _("No password submitted"); | |
| 186: return false; | |
| 187: } else { | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| LINE 190: WARNING Function _() is deprecated since PHP 8.6; Use gettext() instead (PHPCompatibility.FunctionUse.RemovedFunctions._Deprecated) | |
| LINE 190: WARNING Function _() is deprecated since PHP 8.6; Use gettext() instead (PHPCompatibility.FunctionUse.RemovedFunctions._Deprecated) | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| 188: $banner = $this->BANNER; | |
| 189: if( (!$banner) or (empty($banner)) ) { | |
| >> 190: $this->ERROR = "POP3 apop: " . _("No server banner") . ' - ' . _("abort"); | |
| 191: $retVal = $this->login($login,$pass); | |
| 192: return $retVal; | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| LINE 200: WARNING Function _() is deprecated since PHP 8.6; Use gettext() instead (PHPCompatibility.FunctionUse.RemovedFunctions._Deprecated) | |
| LINE 200: WARNING Function _() is deprecated since PHP 8.6; Use gettext() instead (PHPCompatibility.FunctionUse.RemovedFunctions._Deprecated) | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| 198: $reply = $this->send_cmd($cmd); | |
| 199: if(!$this->is_ok($reply)) { | |
| >> 200: $this->ERROR = "POP3 apop: " . _("apop authentication failed") . ' - ' . _("abort"); | |
| 201: $retVal = $this->login($login,$pass); | |
| 202: return $retVal; | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| LINE 219: WARNING Function _() is deprecated since PHP 8.6; Use gettext() instead (PHPCompatibility.FunctionUse.RemovedFunctions._Deprecated) | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| 217: | |
| 218: if( !isset($this->FP) ) { | |
| >> 219: $this->ERROR = "POP3 login: " . _("No connection to server"); | |
| 220: return false; | |
| 221: } else { | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| LINE 244: WARNING Function _() is deprecated since PHP 8.6; Use gettext() instead (PHPCompatibility.FunctionUse.RemovedFunctions._Deprecated) | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| 242: | |
| 243: if(!isset($this->FP)) { | |
| >> 244: $this->ERROR = "POP3 top: " . _("No connection to server"); | |
| 245: return false; | |
| 246: } | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| LINE 260: WARNING Function _() is deprecated since PHP 8.6; Use gettext() instead (PHPCompatibility.FunctionUse.RemovedFunctions._Deprecated) | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| 258: if(!$this->is_ok($reply)) | |
| 259: { | |
| >> 260: $this->ERROR = "POP3 top: " . _("Error ") . "[$reply]"; | |
| 261: return false; | |
| 262: } | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| LINE 286: WARNING Function _() is deprecated since PHP 8.6; Use gettext() instead (PHPCompatibility.FunctionUse.RemovedFunctions._Deprecated) | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| 284: if(!isset($this->FP)) | |
| 285: { | |
| >> 286: $this->ERROR = "POP3 pop_list: " . _("No connection to server"); | |
| 287: return false; | |
| 288: } | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| LINE 314: WARNING Function _() is deprecated since PHP 8.6; Use gettext() instead (PHPCompatibility.FunctionUse.RemovedFunctions._Deprecated) | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| 312: if(!$this->is_ok($reply)) | |
| 313: { | |
| >> 314: $this->ERROR = "POP3 pop_list: " . _("Error ") . "[$reply]"; | |
| 315: return false; | |
| 316: } | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| LINE 325: WARNING Function _() is deprecated since PHP 8.6; Use gettext() instead (PHPCompatibility.FunctionUse.RemovedFunctions._Deprecated) | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| 323: { | |
| 324: $reply = $this->strip_clf($reply); | |
| >> 325: $this->ERROR = "POP3 pop_list: " . _("Error ") . "[$reply]"; | |
| 326: return false; | |
| 327: } | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| LINE 337: WARNING Function _() is deprecated since PHP 8.6; Use gettext() instead (PHPCompatibility.FunctionUse.RemovedFunctions._Deprecated) | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| 335: if(strpos($line, '.') === 0) | |
| 336: { | |
| >> 337: $this->ERROR = "POP3 pop_list: " . _("Premature end of list"); | |
| 338: return false; | |
| 339: } | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| LINE 360: WARNING Function _() is deprecated since PHP 8.6; Use gettext() instead (PHPCompatibility.FunctionUse.RemovedFunctions._Deprecated) | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| 358: if(!isset($this->FP)) | |
| 359: { | |
| >> 360: $this->ERROR = "POP3 get: " . _("No connection to server"); | |
| 361: return false; | |
| 362: } | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| LINE 373: WARNING Function _() is deprecated since PHP 8.6; Use gettext() instead (PHPCompatibility.FunctionUse.RemovedFunctions._Deprecated) | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| 371: if(!$this->is_ok($reply)) | |
| 372: { | |
| >> 373: $this->ERROR = "POP3 get: " . _("Error ") . "[$reply]"; | |
| 374: return false; | |
| 375: } | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| LINE 400: WARNING Function _() is deprecated since PHP 8.6; Use gettext() instead (PHPCompatibility.FunctionUse.RemovedFunctions._Deprecated) | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| 398: if(!isset($this->FP)) | |
| 399: { | |
| >> 400: $this->ERROR = "POP3 last: " . _("No connection to server"); | |
| 401: return $last; | |
| 402: } | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| LINE 407: WARNING Function _() is deprecated since PHP 8.6; Use gettext() instead (PHPCompatibility.FunctionUse.RemovedFunctions._Deprecated) | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| 405: if(!$this->is_ok($reply)) | |
| 406: { | |
| >> 407: $this->ERROR = "POP3 last: " . _("Error ") . "[$reply]"; | |
| 408: return $last; | |
| 409: } | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| LINE 430: WARNING Function _() is deprecated since PHP 8.6; Use gettext() instead (PHPCompatibility.FunctionUse.RemovedFunctions._Deprecated) | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| 428: if(!isset($this->FP)) | |
| 429: { | |
| >> 430: $this->ERROR = "POP3 reset: " . _("No connection to server"); | |
| 431: return false; | |
| 432: } | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| LINE 440: WARNING Function _() is deprecated since PHP 8.6; Use gettext() instead (PHPCompatibility.FunctionUse.RemovedFunctions._Deprecated) | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| 438: // wild is going on. | |
| 439: | |
| >> 440: $this->ERROR = "POP3 reset: " . _("Error ") . "[$reply]"; | |
| 441: @error_log("POP3 reset: ERROR [$reply]",0); | |
| 442: } | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| LINE 464: WARNING Function _() is deprecated since PHP 8.6; Use gettext() instead (PHPCompatibility.FunctionUse.RemovedFunctions._Deprecated) | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| 462: if(!isset($this->FP)) | |
| 463: { | |
| >> 464: $this->ERROR = "POP3 send_cmd: " . _("No connection to server"); | |
| 465: return false; | |
| 466: } | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| LINE 470: WARNING Function _() is deprecated since PHP 8.6; Use gettext() instead (PHPCompatibility.FunctionUse.RemovedFunctions._Deprecated) | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| 468: if(empty($cmd)) | |
| 469: { | |
| >> 470: $this->ERROR = "POP3 send_cmd: " . _("Empty command string"); | |
| 471: return ""; | |
| 472: } | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| LINE 490: WARNING Function _() is deprecated since PHP 8.6; Use gettext() instead (PHPCompatibility.FunctionUse.RemovedFunctions._Deprecated) | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| 488: if(!isset($this->FP)) | |
| 489: { | |
| >> 490: $this->ERROR = "POP3 quit: " . _("connection does not exist"); | |
| 491: return false; | |
| 492: } | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| LINE 527: WARNING Function _() is deprecated since PHP 8.6; Use gettext() instead (PHPCompatibility.FunctionUse.RemovedFunctions._Deprecated) | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| 525: | |
| 526: if(!isset($this->FP)) { | |
| >> 527: $this->ERROR = "POP3 uidl: " . _("No connection to server"); | |
| 528: return false; | |
| 529: } | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| LINE 539: WARNING Function _() is deprecated since PHP 8.6; Use gettext() instead (PHPCompatibility.FunctionUse.RemovedFunctions._Deprecated) | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| 537: if(!$this->is_ok($reply)) | |
| 538: { | |
| >> 539: $this->ERROR = "POP3 uidl: " . _("Error ") . "[$reply]"; | |
| 540: return false; | |
| 541: } | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| LINE 562: WARNING Function _() is deprecated since PHP 8.6; Use gettext() instead (PHPCompatibility.FunctionUse.RemovedFunctions._Deprecated) | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| 560: if(!$this->is_ok($reply)) | |
| 561: { | |
| >> 562: $this->ERROR = "POP3 uidl: " . _("Error ") . "[$reply]"; | |
| 563: return false; | |
| 564: } | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| LINE 592: WARNING Function _() is deprecated since PHP 8.6; Use gettext() instead (PHPCompatibility.FunctionUse.RemovedFunctions._Deprecated) | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| 590: if(!isset($this->FP)) | |
| 591: { | |
| >> 592: $this->ERROR = "POP3 delete: " . _("No connection to server"); | |
| 593: return false; | |
| 594: } | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| LINE 597: WARNING Function _() is deprecated since PHP 8.6; Use gettext() instead (PHPCompatibility.FunctionUse.RemovedFunctions._Deprecated) | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| 595: if(empty($msgNum)) | |
| 596: { | |
| >> 597: $this->ERROR = "POP3 delete: " . _("No msg number submitted"); | |
| 598: return false; | |
| 599: } | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| LINE 603: WARNING Function _() is deprecated since PHP 8.6; Use gettext() instead (PHPCompatibility.FunctionUse.RemovedFunctions._Deprecated) | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | |
| 601: if(!$this->is_ok($reply)) | |
| 602: { | |
| >> 603: $this->ERROR = "POP3 delete: " . _("Command failed ") . "[$reply]"; | |
| 604: return false; | |
| 605: } | |
| ---------------------------------------------------------------------------------------------------------------------------------------------- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment