Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"doctrine/dbal": "^3.9.1",
"egulias/email-validator": "^4.0.4",
"fusonic/opengraph": "^2.3.0",
"giggsey/libphonenumber-for-php-lite": "^8.13.48",
"giggsey/libphonenumber-for-php-lite": "^9.0.9",
"guzzlehttp/guzzle": "^7.9.3",
"icewind/searchdav": "^3.2.0",
"icewind/streams": "^0.7.8",
Expand Down
47 changes: 21 additions & 26 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

497 changes: 495 additions & 2 deletions composer/autoload_classmap.php

Large diffs are not rendered by default.

497 changes: 495 additions & 2 deletions composer/autoload_static.php

Large diffs are not rendered by default.

47 changes: 21 additions & 26 deletions composer/installed.json
Original file line number Diff line number Diff line change
Expand Up @@ -1019,17 +1019,17 @@
},
{
"name": "giggsey/libphonenumber-for-php-lite",
"version": "8.13.48",
"version_normalized": "8.13.48.0",
"version": "9.0.9",
"version_normalized": "9.0.9.0",
"source": {
"type": "git",
"url": "https://github.com/giggsey/libphonenumber-for-php-lite.git",
"reference": "76a4df0f53684fa4175d15aee1cee5f1047a17f7"
"reference": "d7ae8dd1186b54ce1451aec437346dd772321492"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/giggsey/libphonenumber-for-php-lite/zipball/76a4df0f53684fa4175d15aee1cee5f1047a17f7",
"reference": "76a4df0f53684fa4175d15aee1cee5f1047a17f7",
"url": "https://api.github.com/repos/giggsey/libphonenumber-for-php-lite/zipball/d7ae8dd1186b54ce1451aec437346dd772321492",
"reference": "d7ae8dd1186b54ce1451aec437346dd772321492",
"shasum": ""
},
"require": {
Expand All @@ -1041,40 +1041,35 @@
},
"require-dev": {
"ext-dom": "*",
"friendsofphp/php-cs-fixer": "^3.12",
"infection/infection": "^0.28",
"pear/pear-core-minimal": "^1.10.11",
"pear/pear_exception": "^1.0.2",
"pear/versioncontrol_git": "^0.7",
"phing/phing": "^2.17.4",
"phpstan/extension-installer": "^1.2",
"phpstan/phpstan": "^1.8",
"phpstan/phpstan-phpunit": "^1.2",
"phpunit/phpunit": "^10.5",
"symfony/console": "^6.0",
"symfony/var-exporter": "^6.0"
"friendsofphp/php-cs-fixer": "^3.71",
"infection/infection": "^0.28.0",
"nette/php-generator": "^4.1",
"php-coveralls/php-coveralls": "^2.7",
"phpstan/extension-installer": "^1.4.3",
"phpstan/phpstan": "^2.1.7",
"phpstan/phpstan-deprecation-rules": "^2.0.1",
"phpstan/phpstan-phpunit": "^2.0.4",
"phpstan/phpstan-strict-rules": "^2.0.3",
"phpunit/phpunit": "^10.5.45",
"symfony/console": "^6.4",
"symfony/filesystem": "^6.4",
"symfony/process": "^6.4"
},
"suggest": {
"giggsey/libphonenumber-for-php": "Use libphonenumber-for-php for geocoding, carriers, timezones and matching"
},
"time": "2024-10-22T09:03:14+00:00",
"time": "2025-07-08T08:38:23+00:00",
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "8.x-dev"
"dev-master": "9.x-dev"
}
},
"installation-source": "dist",
"autoload": {
"psr-4": {
"libphonenumber\\": "src/"
},
"exclude-from-classmap": [
"/src/data/",
"/src/carrier/data/",
"/src/geocoding/data/",
"/src/timezone/data/"
]
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
Expand Down
6 changes: 3 additions & 3 deletions composer/installed.php
Original file line number Diff line number Diff line change
Expand Up @@ -137,9 +137,9 @@
'dev_requirement' => false,
),
'giggsey/libphonenumber-for-php-lite' => array(
'pretty_version' => '8.13.48',
'version' => '8.13.48.0',
'reference' => '76a4df0f53684fa4175d15aee1cee5f1047a17f7',
'pretty_version' => '9.0.9',
'version' => '9.0.9.0',
'reference' => 'd7ae8dd1186b54ce1451aec437346dd772321492',
'type' => 'library',
'install_path' => __DIR__ . '/../giggsey/libphonenumber-for-php-lite',
'aliases' => array(),
Expand Down
5 changes: 4 additions & 1 deletion giggsey/libphonenumber-for-php-lite/METADATA-VERSION.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
<?php

declare(strict_types=1);

/**
* This file specifies the revision of the metadata to build from.
* It can be a commit, branch or tag of the https://github.com/google/libphonenumber project
* For more information, look at the phing tasks in build.xml
* @internal
*/
return 'v8.13.48';
return 'v9.0.9';
14 changes: 8 additions & 6 deletions giggsey/libphonenumber-for-php-lite/src/CountryCodeSource.php
Original file line number Diff line number Diff line change
@@ -1,34 +1,36 @@
<?php

declare(strict_types=1);

namespace libphonenumber;

/**
* Country code source from number
*/
class CountryCodeSource
enum CountryCodeSource: int
{
/**
* The country_code is derived based on a phone number with a leading "+", e.g. the French
* number "+33 1 42 68 53 00".
*/
public const FROM_NUMBER_WITH_PLUS_SIGN = 0;
case FROM_NUMBER_WITH_PLUS_SIGN = 0;
/**
* The country_code is derived based on a phone number with a leading IDD, e.g. the French
* number "011 33 1 42 68 53 00", as it is dialled from US.
*/
public const FROM_NUMBER_WITH_IDD = 1;
case FROM_NUMBER_WITH_IDD = 1;
/**
* The country_code is derived based on a phone number without a leading "+", e.g. the French
* number "33 1 42 68 53 00" when defaultCountry is supplied as France.
*/
public const FROM_NUMBER_WITHOUT_PLUS_SIGN = 2;
case FROM_NUMBER_WITHOUT_PLUS_SIGN = 2;
/**
* The country_code is derived NOT based on the phone number itself, but from the defaultCountry
* parameter provided in the parsing function by the clients. This happens mostly for numbers
* written in the national format (without country code). For example, this would be set when
* parsing the French number "01 42 68 53 00", when defaultCountry is supplied as France.
*/
public const FROM_DEFAULT_COUNTRY = 3;
case FROM_DEFAULT_COUNTRY = 3;

public const UNSPECIFIED = 4;
case UNSPECIFIED = 4;
}
Loading