Skip to content
This repository has been archived by the owner on Nov 15, 2022. It is now read-only.

Commit

Permalink
fix(psr2): apply format
Browse files Browse the repository at this point in the history
  • Loading branch information
KaiSchwarz-cnic committed Apr 8, 2019
1 parent cbc8018 commit 239fe8e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions ispapidpi.php
Original file line number Diff line number Diff line change
Expand Up @@ -321,8 +321,7 @@ function collect_tld_register_transfer_renew_currency($r)
foreach (preg_grep($pattern_for_tldclass, $r["PROPERTY"]["RELATIONTYPE"]) as $ctype) {
$tldclass = preg_replace("/(^PRICE_CLASS_DOMAIN_|_CURRENCY$)/", "", $ctype);
// if one of relation types SETUP, ANNUAL, TRANSFER exists
if (
preg_match($dontofferpattern, $tldclass) || (
if (preg_match($dontofferpattern, $tldclass) || (
!isset($relations["PRICE_CLASS_DOMAIN_{$tldclass}_SETUP"]) &&
!isset($relations["PRICE_CLASS_DOMAIN_{$tldclass}_ANNUAL"]) &&
!isset($relations["PRICE_CLASS_DOMAIN_{$tldclass}_TRANSFER"]))
Expand Down
2 changes: 1 addition & 1 deletion tldlib_array.php
Original file line number Diff line number Diff line change
Expand Up @@ -283,4 +283,4 @@
'ZACOM' => 'za.com'
);

$dontofferpattern = "/^(TESTDNSERVICESCOZA|TLDBOX|NAME|NAMEEMAIL|DPML(PUB|ZONE)|.+(IDN|IDNTLD|IDNTLDASCII|REGIONAL|(CHARS|NUMBERS)[0-9]*))$/i";
$dontofferpattern = "/^(TESTDNSERVICESCOZA|TLDBOX|NAME|NAMEEMAIL|DPML(PUB|ZONE)|.+(IDN|IDNTLD|IDNTLDASCII|REGIONAL|(CHARS|NUMBERS)[0-9]*))$/i";

0 comments on commit 239fe8e

Please sign in to comment.