Skip to content

Commit 76bfcf7

Browse files
committed
refactor: add freshly compiled country models with new callingCode property
1 parent 2c30e3f commit 76bfcf7

250 files changed

Lines changed: 1750 additions & 500 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

src/Models/Afghanistan.php

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,12 @@ class Afghanistan extends Country
2828
public string $fipCode = "AF";
2929

3030
/**
31-
* Phone dial code
31+
* Telephone country code
32+
*/
33+
public string $callingCode = "93";
34+
35+
/**
36+
* @deprecated - will be removed in next major version. Use callingCode instead.
3237
*/
3338
public string $dial = "93";
3439

@@ -84,5 +89,5 @@ class Afghanistan extends Country
8489
* Portuguese name of the country
8590
*/
8691
public string $pt = "Afeganistão";
87-
92+
8893
}

src/Models/Aland.php

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,12 @@ class Aland extends Country
2828
public string $fipCode = "";
2929

3030
/**
31-
* Phone dial code
31+
* Telephone country code
32+
*/
33+
public string $callingCode = "358";
34+
35+
/**
36+
* @deprecated - will be removed in next major version. Use callingCode instead.
3237
*/
3338
public string $dial = "358";
3439

@@ -84,5 +89,5 @@ class Aland extends Country
8489
* Portuguese name of the country
8590
*/
8691
public string $pt = "Uma terra";
87-
92+
8893
}

src/Models/Albania.php

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,12 @@ class Albania extends Country
2828
public string $fipCode = "AL";
2929

3030
/**
31-
* Phone dial code
31+
* Telephone country code
32+
*/
33+
public string $callingCode = "355";
34+
35+
/**
36+
* @deprecated - will be removed in next major version. Use callingCode instead.
3237
*/
3338
public string $dial = "355";
3439

@@ -84,5 +89,5 @@ class Albania extends Country
8489
* Portuguese name of the country
8590
*/
8691
public string $pt = "Albânia";
87-
92+
8893
}

src/Models/Algeria.php

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,12 @@ class Algeria extends Country
2828
public string $fipCode = "AG";
2929

3030
/**
31-
* Phone dial code
31+
* Telephone country code
32+
*/
33+
public string $callingCode = "213";
34+
35+
/**
36+
* @deprecated - will be removed in next major version. Use callingCode instead.
3237
*/
3338
public string $dial = "213";
3439

@@ -84,5 +89,5 @@ class Algeria extends Country
8489
* Portuguese name of the country
8590
*/
8691
public string $pt = "Argélia";
87-
92+
8893
}

src/Models/AmericanSamoa.php

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,12 @@ class AmericanSamoa extends Country
2828
public string $fipCode = "AQ";
2929

3030
/**
31-
* Phone dial code
31+
* Telephone country code
32+
*/
33+
public string $callingCode = "1-684";
34+
35+
/**
36+
* @deprecated - will be removed in next major version. Use callingCode instead.
3237
*/
3338
public string $dial = "1-684";
3439

@@ -84,5 +89,5 @@ class AmericanSamoa extends Country
8489
* Portuguese name of the country
8590
*/
8691
public string $pt = "Samoa Americana";
87-
92+
8893
}

src/Models/Andorra.php

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,12 @@ class Andorra extends Country
2828
public string $fipCode = "AN";
2929

3030
/**
31-
* Phone dial code
31+
* Telephone country code
32+
*/
33+
public string $callingCode = "376";
34+
35+
/**
36+
* @deprecated - will be removed in next major version. Use callingCode instead.
3237
*/
3338
public string $dial = "376";
3439

@@ -84,5 +89,5 @@ class Andorra extends Country
8489
* Portuguese name of the country
8590
*/
8691
public string $pt = "Andorra";
87-
92+
8893
}

src/Models/Angola.php

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,12 @@ class Angola extends Country
2828
public string $fipCode = "AO";
2929

3030
/**
31-
* Phone dial code
31+
* Telephone country code
32+
*/
33+
public string $callingCode = "244";
34+
35+
/**
36+
* @deprecated - will be removed in next major version. Use callingCode instead.
3237
*/
3338
public string $dial = "244";
3439

@@ -84,5 +89,5 @@ class Angola extends Country
8489
* Portuguese name of the country
8590
*/
8691
public string $pt = "Angola";
87-
92+
8893
}

src/Models/Anguilla.php

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,12 @@ class Anguilla extends Country
2828
public string $fipCode = "AV";
2929

3030
/**
31-
* Phone dial code
31+
* Telephone country code
32+
*/
33+
public string $callingCode = "1-264";
34+
35+
/**
36+
* @deprecated - will be removed in next major version. Use callingCode instead.
3237
*/
3338
public string $dial = "1-264";
3439

@@ -84,5 +89,5 @@ class Anguilla extends Country
8489
* Portuguese name of the country
8590
*/
8691
public string $pt = "Anguila";
87-
92+
8893
}

src/Models/Antarctica.php

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,12 @@ class Antarctica extends Country
2828
public string $fipCode = "AY";
2929

3030
/**
31-
* Phone dial code
31+
* Telephone country code
32+
*/
33+
public string $callingCode = "672";
34+
35+
/**
36+
* @deprecated - will be removed in next major version. Use callingCode instead.
3237
*/
3338
public string $dial = "672";
3439

@@ -84,5 +89,5 @@ class Antarctica extends Country
8489
* Portuguese name of the country
8590
*/
8691
public string $pt = "Antártica";
87-
92+
8893
}

src/Models/AntiguaAndBarbuda.php

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,12 @@ class AntiguaAndBarbuda extends Country
2828
public string $fipCode = "AC";
2929

3030
/**
31-
* Phone dial code
31+
* Telephone country code
32+
*/
33+
public string $callingCode = "1-268";
34+
35+
/**
36+
* @deprecated - will be removed in next major version. Use callingCode instead.
3237
*/
3338
public string $dial = "1-268";
3439

@@ -84,5 +89,5 @@ class AntiguaAndBarbuda extends Country
8489
* Portuguese name of the country
8590
*/
8691
public string $pt = "Antígua e Barbuda";
87-
92+
8893
}

0 commit comments

Comments
 (0)