Skip to content

Commit

Permalink
Update Google's GitHub URL
Browse files Browse the repository at this point in the history
  • Loading branch information
giggsey committed Aug 15, 2019
1 parent 22abf2b commit f4d74ca
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion METADATA-VERSION.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# This file specifies the revision of the metadata to build from
# It can be a commit, branch or tag of the https://github.com/googlei18n/libphonenumber project
# 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
v8.10.16
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
[![License](http://img.shields.io/badge/license-Apache%202.0-red.svg?style=flat-square)](https://packagist.org/packages/giggsey/libphonenumber-for-php)

## What is it?
A PHP library for parsing, formatting, storing and validating international phone numbers. This library is based on Google's [libphonenumber](https://github.com/googlei18n/libphonenumber).
A PHP library for parsing, formatting, storing and validating international phone numbers. This library is based on Google's [libphonenumber](https://github.com/google/libphonenumber).



Expand Down Expand Up @@ -72,7 +72,7 @@ This library will try to follow the same version numbers as Google. There could
This does mean that this project may not follow [Semantic Versioning](http://semver.org/), but instead Google's version policy. As a result, jumps in major versions may not actually contain any backwards
incompatible changes. Please read the release notes for such releases.

Google try to release their versions according to Semantic Versioning, as laid out of in their [Versioning Guide](https://github.com/googlei18n/libphonenumber#versioning-and-announcements).
Google try to release their versions according to Semantic Versioning, as laid out of in their [Versioning Guide](https://github.com/google/libphonenumber#versioning-and-announcements).

## Quick Examples
Let's say you have a string representing a phone number from Switzerland. This is how you parse/normalize it into a PhoneNumber object:
Expand Down Expand Up @@ -226,9 +226,9 @@ $timeZones = $timeZoneMapper->getTimeZonesForNumber($swissNumberProto);

#### Problems with Invalid Numbers?

This library uses phone number metadata from Google's [libphonenumber](https://github.com/googlei18n/libphonenumber). If this library is working as intended, it should provide the same result as the Java version of Google's project.
This library uses phone number metadata from Google's [libphonenumber](https://github.com/google/libphonenumber). If this library is working as intended, it should provide the same result as the Java version of Google's project.

If you believe that a phone number is returning an incorrect result, first test it with [libphonenumber](https://github.com/googlei18n/libphonenumber) via their [Online Demo](https://libphonenumber.appspot.com/). If that returns the same result as this project, and you feel it is in error, raise it as an Issue with the libphonenumber project.
If you believe that a phone number is returning an incorrect result, first test it with [libphonenumber](https://github.com/google/libphonenumber) via their [Online Demo](https://libphonenumber.appspot.com/). If that returns the same result as this project, and you feel it is in error, raise it as an Issue with the libphonenumber project.

If Google's [Online Demo](https://libphonenumber.appspot.com/) gives a different result to the [libphonenumber-for-php demo](http://giggsey.com/libphonenumber/), then please raise an Issue here.

Expand All @@ -242,7 +242,7 @@ If you do need to generate the data, the commands are provided by [Phing](https:
$ vendor/bin/phing compile
```

This compile process clones the [libphonenumber](https://github.com/googlei18n/libphonenumber) project at the version specified in [METADATA-VERSION.txt](METADATA-VERSION.txt).
This compile process clones the [libphonenumber](https://github.com/google/libphonenumber) project at the version specified in [METADATA-VERSION.txt](METADATA-VERSION.txt).

## Integration with frameworks

Expand Down
2 changes: 1 addition & 1 deletion build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

<property name="build.script" value="build/build.php"/>

<property name="git.url" value="https://github.com/googlei18n/libphonenumber.git"/>
<property name="git.url" value="https://github.com/google/libphonenumber.git"/>
<property name="git.path" value="libphonenumber-data-dir"/>

<loadfile property="metadata.version" file="METADATA-VERSION.txt">
Expand Down
2 changes: 1 addition & 1 deletion src/PhoneNumberUtil.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
* http://www.unicode.org/cldr/charts/30/supplemental/territory_information.html
*
* @author Shaopeng Jia
* @see https://github.com/googlei18n/libphonenumber
* @see https://github.com/google/libphonenumber
*/
class PhoneNumberUtil
{
Expand Down

0 comments on commit f4d74ca

Please sign in to comment.