Skip to content

Commit 6a4cdaf

Browse files
Composer update
1 parent e5f7477 commit 6a4cdaf

File tree

29 files changed

+1214
-29
lines changed

29 files changed

+1214
-29
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
},
1515
{
1616
"type": "git",
17-
"url": "https://github.com/eileenmcnaughton/paypalstandard.git"
17+
"url": "https://github.com/eileenmcnaughton/omnipay-paypalstandard.git"
1818
},
1919
{
2020
"type": "git",

composer.lock

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/composer/installed.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -310,12 +310,12 @@
310310
"source": {
311311
"type": "git",
312312
"url": "https://github.com/fzaninotto/Faker.git",
313-
"reference": "70572abb2ee34c79a566dc13d016f89011f8365e"
313+
"reference": "71c5ccec1b04649c26b7fa510b1cc6b811cb3fb9"
314314
},
315315
"dist": {
316316
"type": "zip",
317-
"url": "https://api.github.com/repos/fzaninotto/Faker/zipball/70572abb2ee34c79a566dc13d016f89011f8365e",
318-
"reference": "70572abb2ee34c79a566dc13d016f89011f8365e",
317+
"url": "https://api.github.com/repos/fzaninotto/Faker/zipball/71c5ccec1b04649c26b7fa510b1cc6b811cb3fb9",
318+
"reference": "71c5ccec1b04649c26b7fa510b1cc6b811cb3fb9",
319319
"shasum": ""
320320
},
321321
"require": {
@@ -326,7 +326,7 @@
326326
"phpunit/phpunit": "~4.0",
327327
"squizlabs/php_codesniffer": "~1.5"
328328
},
329-
"time": "2016-11-09 08:42:27",
329+
"time": "2016-12-02 14:05:09",
330330
"type": "library",
331331
"extra": {
332332
"branch-alias": {
@@ -3043,7 +3043,7 @@
30433043
"version_normalized": "9999999-dev",
30443044
"source": {
30453045
"type": "git",
3046-
"url": "https://github.com/KarinG/paypalstandard.git",
3046+
"url": "https://github.com/eileenmcnaughton/omnipay-paypalstandard.git",
30473047
"reference": "ecf18da4474697916d2b872586465de5ecf2868b"
30483048
},
30493049
"require": {

vendor/fzaninotto/faker/readme.md

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -923,6 +923,14 @@ echo $faker->mobileNumber; // 082 123 5555
923923
echo $faker->dni; // '77446565E'
924924
```
925925

926+
### `Faker\Provider\es_ES\Payment`
927+
928+
```php
929+
<?php
930+
// Generates a Código de identificación Fiscal (CIF) number
931+
echo $faker->vat; // "A35864370"
932+
```
933+
926934
### `Faker\Provider\fr_BE\Payment`
927935

928936
```php
@@ -1275,10 +1283,22 @@ echo $faker->bankAccountNumber; // "RO55WRJE3OE8X3YQI7J26U1E"
12751283
echo $faker->prefixMale; // "ing."
12761284
// Generates a random female name prefix/title
12771285
echo $faker->prefixFemale; // "d-na."
1278-
// Generates a random male fist name
1286+
// Generates a random male first name
12791287
echo $faker->firstNameMale; // "Adrian"
1280-
// Generates a random female fist name
1288+
// Generates a random female first name
12811289
echo $faker->firstNameFemale; // "Miruna"
1290+
1291+
1292+
// Generates a random Personal Numerical Code (CNP)
1293+
echo $faker->cnp; // "2800523081231"
1294+
// Valid option values:
1295+
// $gender: null (random), male, female
1296+
// $dateOfBirth (1800+): null (random), Y-m-d, Y-m (random day), Y (random month and day)
1297+
// i.e. '1981-06-16', '2015-03', '1900'
1298+
// $county: 2 letter ISO 3166-2:RO county codes and B1, B2, B3, B4, B5, B6 for Bucharest's 6 sectors
1299+
// $isResident true/false flag if the person resides in Romania
1300+
echo $faker->cnp($gender = null, $dateOfBirth = null, $county = null, $isResident = true);
1301+
12821302
```
12831303

12841304
### `Faker\Provider\ro_RO\PhoneNumber`

vendor/fzaninotto/faker/src/Faker/Provider/Internet.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,10 @@ public static function macAddress()
209209

210210
protected static function transliterate($string)
211211
{
212+
if (0 === preg_match('/[^A-Za-z0-9_.]/', $string)) {
213+
return $string;
214+
}
215+
212216
$transId = 'Any-Latin; Latin-ASCII; NFD; [:Nonspacing Mark:] Remove; NFC;';
213217
if (function_exists('transliterator_transliterate') && $transliterator = \Transliterator::create($transId)) {
214218
$transString = $transliterator->transliterate($string);

vendor/fzaninotto/faker/src/Faker/Provider/at_AT/Payment.php

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,17 @@ public static function vat($spacedNationalPrefix = true)
2828

2929
return sprintf("%s%d", $prefix, self::randomNumber(8, true));
3030
}
31+
32+
/**
33+
* International Bank Account Number (IBAN)
34+
* @link http://en.wikipedia.org/wiki/International_Bank_Account_Number
35+
* @param string $prefix for generating bank account number of a specific bank
36+
* @param string $countryCode ISO 3166-1 alpha-2 country code
37+
* @param integer $length total length without country code and 2 check digits
38+
* @return string
39+
*/
40+
public static function bankAccountNumber($prefix = '', $countryCode = 'AT', $length = null)
41+
{
42+
return static::iban($countryCode, $prefix, $length);
43+
}
3144
}

vendor/fzaninotto/faker/src/Faker/Provider/cs_CZ/PhoneNumber.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
class PhoneNumber extends \Faker\Provider\PhoneNumber
66
{
77
protected static $formats = array(
8-
'+420 ### ### ###',
9-
'### ### ###',
10-
'00420#########',
11-
'+420#########',
12-
'#########',
8+
'+420 %## ### ###',
9+
'%## ### ###',
10+
'00420%########',
11+
'+420%########',
12+
'%########',
1313
);
1414
}

0 commit comments

Comments
 (0)