├── .build-script
├── .config
└── load.php
├── .dependabot
└── config.yml
├── .gitignore
├── .gitmodules
├── CONTRIBUTING.md
├── Gruntfile.js
├── README.md
├── composer.json
├── composer.lock
├── content
├── mu-plugins
│ ├── auth.php
│ ├── autoloader.php
│ ├── cache-busting-magic.php
│ └── loader.php
├── plugins
│ ├── fakerpress
│ │ ├── .jshintignore
│ │ ├── Gruntfile.js
│ │ ├── bin
│ │ │ ├── .jshintrc
│ │ │ ├── .travis.yml
│ │ │ ├── class-wordpress-readme-parser.php
│ │ │ ├── contributing.md
│ │ │ ├── generate-markdown-readme
│ │ │ ├── install-wp-tests.sh
│ │ │ ├── phpcs.ruleset.xml
│ │ │ ├── pre-commit
│ │ │ ├── readme.md
│ │ │ └── svn-push
│ │ ├── contributing.md
│ │ ├── fakerpress.php
│ │ ├── inc
│ │ │ ├── class-fp-admin.php
│ │ │ ├── class-fp-ajax.php
│ │ │ ├── class-fp-dates.php
│ │ │ ├── class-fp-field.php
│ │ │ ├── class-fp-filter.php
│ │ │ ├── class-fp-plugin.php
│ │ │ ├── load.php
│ │ │ └── vendor
│ │ │ │ ├── Carbon
│ │ │ │ └── Carbon.php
│ │ │ │ ├── Faker
│ │ │ │ ├── .gitignore
│ │ │ │ ├── .travis.yml
│ │ │ │ ├── CHANGELOG
│ │ │ │ ├── CONTRIBUTING.md
│ │ │ │ ├── LICENSE
│ │ │ │ ├── Makefile
│ │ │ │ ├── composer.json
│ │ │ │ ├── phpunit.xml.dist
│ │ │ │ ├── readme.md
│ │ │ │ ├── src
│ │ │ │ │ ├── Faker
│ │ │ │ │ │ ├── Calculator
│ │ │ │ │ │ │ └── Luhn.php
│ │ │ │ │ │ ├── DefaultGenerator.php
│ │ │ │ │ │ ├── Documentor.php
│ │ │ │ │ │ ├── Factory.php
│ │ │ │ │ │ ├── Generator.php
│ │ │ │ │ │ ├── Guesser
│ │ │ │ │ │ │ └── Name.php
│ │ │ │ │ │ ├── ORM
│ │ │ │ │ │ │ ├── CakePHP
│ │ │ │ │ │ │ │ ├── ColumnTypeGuesser.php
│ │ │ │ │ │ │ │ ├── EntityPopulator.php
│ │ │ │ │ │ │ │ └── Populator.php
│ │ │ │ │ │ │ ├── Doctrine
│ │ │ │ │ │ │ │ ├── ColumnTypeGuesser.php
│ │ │ │ │ │ │ │ ├── EntityPopulator.php
│ │ │ │ │ │ │ │ └── Populator.php
│ │ │ │ │ │ │ ├── Mandango
│ │ │ │ │ │ │ │ ├── ColumnTypeGuesser.php
│ │ │ │ │ │ │ │ ├── EntityPopulator.php
│ │ │ │ │ │ │ │ └── Populator.php
│ │ │ │ │ │ │ └── Propel
│ │ │ │ │ │ │ │ ├── ColumnTypeGuesser.php
│ │ │ │ │ │ │ │ ├── EntityPopulator.php
│ │ │ │ │ │ │ │ └── Populator.php
│ │ │ │ │ │ ├── Provider
│ │ │ │ │ │ │ ├── Address.php
│ │ │ │ │ │ │ ├── Barcode.php
│ │ │ │ │ │ │ ├── Base.php
│ │ │ │ │ │ │ ├── Biased.php
│ │ │ │ │ │ │ ├── Color.php
│ │ │ │ │ │ │ ├── Company.php
│ │ │ │ │ │ │ ├── DateTime.php
│ │ │ │ │ │ │ ├── File.php
│ │ │ │ │ │ │ ├── Image.php
│ │ │ │ │ │ │ ├── Internet.php
│ │ │ │ │ │ │ ├── Lorem.php
│ │ │ │ │ │ │ ├── Miscellaneous.php
│ │ │ │ │ │ │ ├── Payment.php
│ │ │ │ │ │ │ ├── Person.php
│ │ │ │ │ │ │ ├── PhoneNumber.php
│ │ │ │ │ │ │ ├── Text.php
│ │ │ │ │ │ │ ├── UserAgent.php
│ │ │ │ │ │ │ ├── Uuid.php
│ │ │ │ │ │ │ ├── ar_JO
│ │ │ │ │ │ │ │ ├── Address.php
│ │ │ │ │ │ │ │ ├── Company.php
│ │ │ │ │ │ │ │ ├── Internet.php
│ │ │ │ │ │ │ │ ├── Person.php
│ │ │ │ │ │ │ │ └── Text.php
│ │ │ │ │ │ │ ├── at_AT
│ │ │ │ │ │ │ │ └── Payment.php
│ │ │ │ │ │ │ ├── be_BE
│ │ │ │ │ │ │ │ └── Payment.php
│ │ │ │ │ │ │ ├── bg_BG
│ │ │ │ │ │ │ │ ├── Internet.php
│ │ │ │ │ │ │ │ ├── Payment.php
│ │ │ │ │ │ │ │ ├── Person.php
│ │ │ │ │ │ │ │ └── PhoneNumber.php
│ │ │ │ │ │ │ ├── bn_BD
│ │ │ │ │ │ │ │ ├── Address.php
│ │ │ │ │ │ │ │ ├── Company.php
│ │ │ │ │ │ │ │ ├── Person.php
│ │ │ │ │ │ │ │ ├── PhoneNumber.php
│ │ │ │ │ │ │ │ └── Utils.php
│ │ │ │ │ │ │ ├── cs_CZ
│ │ │ │ │ │ │ │ ├── Address.php
│ │ │ │ │ │ │ │ ├── Company.php
│ │ │ │ │ │ │ │ ├── DateTime.php
│ │ │ │ │ │ │ │ ├── Internet.php
│ │ │ │ │ │ │ │ ├── Payment.php
│ │ │ │ │ │ │ │ ├── Person.php
│ │ │ │ │ │ │ │ ├── PhoneNumber.php
│ │ │ │ │ │ │ │ └── Text.php
│ │ │ │ │ │ │ ├── da_DK
│ │ │ │ │ │ │ │ ├── Address.php
│ │ │ │ │ │ │ │ ├── Company.php
│ │ │ │ │ │ │ │ ├── Internet.php
│ │ │ │ │ │ │ │ ├── Payment.php
│ │ │ │ │ │ │ │ ├── Person.php
│ │ │ │ │ │ │ │ └── PhoneNumber.php
│ │ │ │ │ │ │ ├── de_AT
│ │ │ │ │ │ │ │ ├── Address.php
│ │ │ │ │ │ │ │ ├── Company.php
│ │ │ │ │ │ │ │ ├── Internet.php
│ │ │ │ │ │ │ │ ├── Payment.php
│ │ │ │ │ │ │ │ ├── Person.php
│ │ │ │ │ │ │ │ └── PhoneNumber.php
│ │ │ │ │ │ │ ├── de_DE
│ │ │ │ │ │ │ │ ├── Address.php
│ │ │ │ │ │ │ │ ├── Company.php
│ │ │ │ │ │ │ │ ├── Internet.php
│ │ │ │ │ │ │ │ ├── Payment.php
│ │ │ │ │ │ │ │ ├── Person.php
│ │ │ │ │ │ │ │ ├── PhoneNumber.php
│ │ │ │ │ │ │ │ └── Text.php
│ │ │ │ │ │ │ ├── el_GR
│ │ │ │ │ │ │ │ ├── Address.php
│ │ │ │ │ │ │ │ ├── Payment.php
│ │ │ │ │ │ │ │ ├── Person.php
│ │ │ │ │ │ │ │ └── PhoneNumber.php
│ │ │ │ │ │ │ ├── en_AU
│ │ │ │ │ │ │ │ ├── Address.php
│ │ │ │ │ │ │ │ ├── Internet.php
│ │ │ │ │ │ │ │ └── PhoneNumber.php
│ │ │ │ │ │ │ ├── en_CA
│ │ │ │ │ │ │ │ ├── Address.php
│ │ │ │ │ │ │ │ └── PhoneNumber.php
│ │ │ │ │ │ │ ├── en_GB
│ │ │ │ │ │ │ │ ├── Address.php
│ │ │ │ │ │ │ │ ├── Internet.php
│ │ │ │ │ │ │ │ ├── Payment.php
│ │ │ │ │ │ │ │ ├── Person.php
│ │ │ │ │ │ │ │ └── PhoneNumber.php
│ │ │ │ │ │ │ ├── en_NZ
│ │ │ │ │ │ │ │ ├── Address.php
│ │ │ │ │ │ │ │ ├── Internet.php
│ │ │ │ │ │ │ │ └── PhoneNumber.php
│ │ │ │ │ │ │ ├── en_PH
│ │ │ │ │ │ │ │ └── Address.php
│ │ │ │ │ │ │ ├── en_UG
│ │ │ │ │ │ │ │ ├── Address.php
│ │ │ │ │ │ │ │ ├── Internet.php
│ │ │ │ │ │ │ │ ├── Person.php
│ │ │ │ │ │ │ │ └── PhoneNumber.php
│ │ │ │ │ │ │ ├── en_US
│ │ │ │ │ │ │ │ ├── Address.php
│ │ │ │ │ │ │ │ ├── Company.php
│ │ │ │ │ │ │ │ ├── Person.php
│ │ │ │ │ │ │ │ ├── PhoneNumber.php
│ │ │ │ │ │ │ │ └── Text.php
│ │ │ │ │ │ │ ├── en_ZA
│ │ │ │ │ │ │ │ ├── Address.php
│ │ │ │ │ │ │ │ ├── Internet.php
│ │ │ │ │ │ │ │ ├── Person.php
│ │ │ │ │ │ │ │ └── PhoneNumber.php
│ │ │ │ │ │ │ ├── es_AR
│ │ │ │ │ │ │ │ ├── Address.php
│ │ │ │ │ │ │ │ ├── Company.php
│ │ │ │ │ │ │ │ ├── Person.php
│ │ │ │ │ │ │ │ └── PhoneNumber.php
│ │ │ │ │ │ │ ├── es_ES
│ │ │ │ │ │ │ │ ├── Address.php
│ │ │ │ │ │ │ │ ├── Company.php
│ │ │ │ │ │ │ │ ├── Internet.php
│ │ │ │ │ │ │ │ ├── Payment.php
│ │ │ │ │ │ │ │ ├── Person.php
│ │ │ │ │ │ │ │ └── PhoneNumber.php
│ │ │ │ │ │ │ ├── es_PE
│ │ │ │ │ │ │ │ ├── Address.php
│ │ │ │ │ │ │ │ ├── Company.php
│ │ │ │ │ │ │ │ ├── Person.php
│ │ │ │ │ │ │ │ └── PhoneNumber.php
│ │ │ │ │ │ │ ├── es_VE
│ │ │ │ │ │ │ │ ├── Address.php
│ │ │ │ │ │ │ │ ├── Company.php
│ │ │ │ │ │ │ │ ├── Internet.php
│ │ │ │ │ │ │ │ ├── Person.php
│ │ │ │ │ │ │ │ └── PhoneNumber.php
│ │ │ │ │ │ │ ├── fa_IR
│ │ │ │ │ │ │ │ ├── Internet.php
│ │ │ │ │ │ │ │ ├── Person.php
│ │ │ │ │ │ │ │ └── Text.php
│ │ │ │ │ │ │ ├── fi_FI
│ │ │ │ │ │ │ │ ├── Address.php
│ │ │ │ │ │ │ │ ├── Company.php
│ │ │ │ │ │ │ │ ├── Internet.php
│ │ │ │ │ │ │ │ ├── Person.php
│ │ │ │ │ │ │ │ └── PhoneNumber.php
│ │ │ │ │ │ │ ├── fr_BE
│ │ │ │ │ │ │ │ ├── Address.php
│ │ │ │ │ │ │ │ ├── Company.php
│ │ │ │ │ │ │ │ ├── Internet.php
│ │ │ │ │ │ │ │ ├── Payment.php
│ │ │ │ │ │ │ │ ├── Person.php
│ │ │ │ │ │ │ │ └── PhoneNumber.php
│ │ │ │ │ │ │ ├── fr_CA
│ │ │ │ │ │ │ │ ├── Address.php
│ │ │ │ │ │ │ │ └── Person.php
│ │ │ │ │ │ │ ├── fr_FR
│ │ │ │ │ │ │ │ ├── Address.php
│ │ │ │ │ │ │ │ ├── Company.php
│ │ │ │ │ │ │ │ ├── Internet.php
│ │ │ │ │ │ │ │ ├── Payment.php
│ │ │ │ │ │ │ │ ├── Person.php
│ │ │ │ │ │ │ │ ├── PhoneNumber.php
│ │ │ │ │ │ │ │ └── Text.php
│ │ │ │ │ │ │ ├── hu_HU
│ │ │ │ │ │ │ │ ├── Address.php
│ │ │ │ │ │ │ │ ├── Company.php
│ │ │ │ │ │ │ │ ├── Person.php
│ │ │ │ │ │ │ │ └── PhoneNumber.php
│ │ │ │ │ │ │ ├── hy_AM
│ │ │ │ │ │ │ │ ├── Address.php
│ │ │ │ │ │ │ │ ├── Company.php
│ │ │ │ │ │ │ │ ├── Internet.php
│ │ │ │ │ │ │ │ ├── Person.php
│ │ │ │ │ │ │ │ └── PhoneNumber.php
│ │ │ │ │ │ │ ├── id_ID
│ │ │ │ │ │ │ │ ├── Address.php
│ │ │ │ │ │ │ │ ├── Company.php
│ │ │ │ │ │ │ │ ├── Internet.php
│ │ │ │ │ │ │ │ ├── Person.php
│ │ │ │ │ │ │ │ └── PhoneNumber.php
│ │ │ │ │ │ │ ├── is_IS
│ │ │ │ │ │ │ │ ├── Address.php
│ │ │ │ │ │ │ │ ├── Company.php
│ │ │ │ │ │ │ │ ├── Internet.php
│ │ │ │ │ │ │ │ ├── Payment.php
│ │ │ │ │ │ │ │ ├── Person.php
│ │ │ │ │ │ │ │ └── PhoneNumber.php
│ │ │ │ │ │ │ ├── it_IT
│ │ │ │ │ │ │ │ ├── Address.php
│ │ │ │ │ │ │ │ ├── Company.php
│ │ │ │ │ │ │ │ ├── Internet.php
│ │ │ │ │ │ │ │ ├── Payment.php
│ │ │ │ │ │ │ │ ├── Person.php
│ │ │ │ │ │ │ │ ├── PhoneNumber.php
│ │ │ │ │ │ │ │ └── Text.php
│ │ │ │ │ │ │ ├── ja_JP
│ │ │ │ │ │ │ │ ├── Address.php
│ │ │ │ │ │ │ │ ├── Company.php
│ │ │ │ │ │ │ │ ├── Internet.php
│ │ │ │ │ │ │ │ ├── Person.php
│ │ │ │ │ │ │ │ └── PhoneNumber.php
│ │ │ │ │ │ │ ├── ka_GE
│ │ │ │ │ │ │ │ ├── Person.php
│ │ │ │ │ │ │ │ └── Text.php
│ │ │ │ │ │ │ ├── lv_LV
│ │ │ │ │ │ │ │ ├── Address.php
│ │ │ │ │ │ │ │ ├── Internet.php
│ │ │ │ │ │ │ │ ├── Payment.php
│ │ │ │ │ │ │ │ ├── Person.php
│ │ │ │ │ │ │ │ └── PhoneNumber.php
│ │ │ │ │ │ │ ├── me_ME
│ │ │ │ │ │ │ │ ├── Address.php
│ │ │ │ │ │ │ │ ├── Company.php
│ │ │ │ │ │ │ │ ├── Payment.php
│ │ │ │ │ │ │ │ ├── Person.php
│ │ │ │ │ │ │ │ └── PhoneNumber.php
│ │ │ │ │ │ │ ├── ne_NP
│ │ │ │ │ │ │ │ ├── Address.php
│ │ │ │ │ │ │ │ ├── Internet.php
│ │ │ │ │ │ │ │ ├── Person.php
│ │ │ │ │ │ │ │ └── PhoneNumber.php
│ │ │ │ │ │ │ ├── nl_BE
│ │ │ │ │ │ │ │ ├── Address.php
│ │ │ │ │ │ │ │ ├── Company.php
│ │ │ │ │ │ │ │ ├── Internet.php
│ │ │ │ │ │ │ │ ├── Payment.php
│ │ │ │ │ │ │ │ ├── Person.php
│ │ │ │ │ │ │ │ └── PhoneNumber.php
│ │ │ │ │ │ │ ├── nl_NL
│ │ │ │ │ │ │ │ ├── Address.php
│ │ │ │ │ │ │ │ ├── Color.php
│ │ │ │ │ │ │ │ ├── Company.php
│ │ │ │ │ │ │ │ ├── Internet.php
│ │ │ │ │ │ │ │ ├── Payment.php
│ │ │ │ │ │ │ │ ├── Person.php
│ │ │ │ │ │ │ │ └── PhoneNumber.php
│ │ │ │ │ │ │ ├── no_NO
│ │ │ │ │ │ │ │ ├── Address.php
│ │ │ │ │ │ │ │ ├── Company.php
│ │ │ │ │ │ │ │ ├── Person.php
│ │ │ │ │ │ │ │ └── PhoneNumber.php
│ │ │ │ │ │ │ ├── pl_PL
│ │ │ │ │ │ │ │ ├── Address.php
│ │ │ │ │ │ │ │ ├── Company.php
│ │ │ │ │ │ │ │ ├── Internet.php
│ │ │ │ │ │ │ │ ├── Payment.php
│ │ │ │ │ │ │ │ ├── Person.php
│ │ │ │ │ │ │ │ ├── PhoneNumber.php
│ │ │ │ │ │ │ │ └── Text.php
│ │ │ │ │ │ │ ├── pt_BR
│ │ │ │ │ │ │ │ ├── Address.php
│ │ │ │ │ │ │ │ ├── Company.php
│ │ │ │ │ │ │ │ ├── Internet.php
│ │ │ │ │ │ │ │ ├── Payment.php
│ │ │ │ │ │ │ │ ├── Person.php
│ │ │ │ │ │ │ │ └── PhoneNumber.php
│ │ │ │ │ │ │ ├── pt_PT
│ │ │ │ │ │ │ │ ├── Address.php
│ │ │ │ │ │ │ │ ├── Payment.php
│ │ │ │ │ │ │ │ ├── Person.php
│ │ │ │ │ │ │ │ └── PhoneNumber.php
│ │ │ │ │ │ │ ├── ro_MD
│ │ │ │ │ │ │ │ ├── Address.php
│ │ │ │ │ │ │ │ ├── Person.php
│ │ │ │ │ │ │ │ └── PhoneNumber.php
│ │ │ │ │ │ │ ├── ro_RO
│ │ │ │ │ │ │ │ ├── Address.php
│ │ │ │ │ │ │ │ ├── Person.php
│ │ │ │ │ │ │ │ └── PhoneNumber.php
│ │ │ │ │ │ │ ├── ru_RU
│ │ │ │ │ │ │ │ ├── Address.php
│ │ │ │ │ │ │ │ ├── Color.php
│ │ │ │ │ │ │ │ ├── Company.php
│ │ │ │ │ │ │ │ ├── Internet.php
│ │ │ │ │ │ │ │ ├── Payment.php
│ │ │ │ │ │ │ │ ├── Person.php
│ │ │ │ │ │ │ │ ├── PhoneNumber.php
│ │ │ │ │ │ │ │ └── Text.php
│ │ │ │ │ │ │ ├── sk_SK
│ │ │ │ │ │ │ │ ├── Address.php
│ │ │ │ │ │ │ │ ├── Company.php
│ │ │ │ │ │ │ │ ├── Internet.php
│ │ │ │ │ │ │ │ ├── Payment.php
│ │ │ │ │ │ │ │ ├── Person.php
│ │ │ │ │ │ │ │ └── PhoneNumber.php
│ │ │ │ │ │ │ ├── sl_SI
│ │ │ │ │ │ │ │ ├── Address.php
│ │ │ │ │ │ │ │ ├── Internet.php
│ │ │ │ │ │ │ │ ├── Payment.php
│ │ │ │ │ │ │ │ ├── Person.php
│ │ │ │ │ │ │ │ └── PhoneNumber.php
│ │ │ │ │ │ │ ├── sr_Cyrl_RS
│ │ │ │ │ │ │ │ ├── Address.php
│ │ │ │ │ │ │ │ ├── Payment.php
│ │ │ │ │ │ │ │ └── Person.php
│ │ │ │ │ │ │ ├── sr_Latn_RS
│ │ │ │ │ │ │ │ ├── Address.php
│ │ │ │ │ │ │ │ ├── Payment.php
│ │ │ │ │ │ │ │ └── Person.php
│ │ │ │ │ │ │ ├── sr_RS
│ │ │ │ │ │ │ │ ├── Address.php
│ │ │ │ │ │ │ │ ├── Payment.php
│ │ │ │ │ │ │ │ └── Person.php
│ │ │ │ │ │ │ ├── sv_SE
│ │ │ │ │ │ │ │ ├── Address.php
│ │ │ │ │ │ │ │ ├── Company.php
│ │ │ │ │ │ │ │ ├── Person.php
│ │ │ │ │ │ │ │ └── PhoneNumber.php
│ │ │ │ │ │ │ ├── tr_TR
│ │ │ │ │ │ │ │ ├── Address.php
│ │ │ │ │ │ │ │ ├── Internet.php
│ │ │ │ │ │ │ │ ├── Payment.php
│ │ │ │ │ │ │ │ ├── Person.php
│ │ │ │ │ │ │ │ └── PhoneNumber.php
│ │ │ │ │ │ │ ├── uk_UA
│ │ │ │ │ │ │ │ ├── Address.php
│ │ │ │ │ │ │ │ ├── Color.php
│ │ │ │ │ │ │ │ ├── Company.php
│ │ │ │ │ │ │ │ ├── Internet.php
│ │ │ │ │ │ │ │ ├── Person.php
│ │ │ │ │ │ │ │ ├── PhoneNumber.php
│ │ │ │ │ │ │ │ └── Text.php
│ │ │ │ │ │ │ ├── vi_VN
│ │ │ │ │ │ │ │ ├── Address.php
│ │ │ │ │ │ │ │ ├── Color.php
│ │ │ │ │ │ │ │ ├── Internet.php
│ │ │ │ │ │ │ │ ├── Person.php
│ │ │ │ │ │ │ │ └── PhoneNumber.php
│ │ │ │ │ │ │ ├── zh_CN
│ │ │ │ │ │ │ │ ├── Address.php
│ │ │ │ │ │ │ │ ├── Company.php
│ │ │ │ │ │ │ │ ├── Internet.php
│ │ │ │ │ │ │ │ ├── Person.php
│ │ │ │ │ │ │ │ └── PhoneNumber.php
│ │ │ │ │ │ │ └── zh_TW
│ │ │ │ │ │ │ │ ├── Address.php
│ │ │ │ │ │ │ │ ├── Color.php
│ │ │ │ │ │ │ │ ├── Company.php
│ │ │ │ │ │ │ │ ├── DateTime.php
│ │ │ │ │ │ │ │ ├── Internet.php
│ │ │ │ │ │ │ │ ├── Payment.php
│ │ │ │ │ │ │ │ ├── Person.php
│ │ │ │ │ │ │ │ ├── PhoneNumber.php
│ │ │ │ │ │ │ │ └── Text.php
│ │ │ │ │ │ └── UniqueGenerator.php
│ │ │ │ │ └── autoload.php
│ │ │ │ └── test
│ │ │ │ │ ├── Faker
│ │ │ │ │ ├── Calculator
│ │ │ │ │ │ └── LuhnTest.php
│ │ │ │ │ ├── DefaultGeneratorTest.php
│ │ │ │ │ ├── GeneratorTest.php
│ │ │ │ │ └── Provider
│ │ │ │ │ │ ├── AddressTest.php
│ │ │ │ │ │ ├── BarcodeTest.php
│ │ │ │ │ │ ├── BaseTest.php
│ │ │ │ │ │ ├── BiasedTest.php
│ │ │ │ │ │ ├── ColorTest.php
│ │ │ │ │ │ ├── DateTimeTest.php
│ │ │ │ │ │ ├── ImageTest.php
│ │ │ │ │ │ ├── InternetTest.php
│ │ │ │ │ │ ├── LocalizationTest.php
│ │ │ │ │ │ ├── LoremTest.php
│ │ │ │ │ │ ├── MiscellaneousTest.php
│ │ │ │ │ │ ├── PaymentTest.php
│ │ │ │ │ │ ├── PersonTest.php
│ │ │ │ │ │ ├── ProviderOverrideTest.php
│ │ │ │ │ │ ├── TextTest.php
│ │ │ │ │ │ ├── UserAgentTest.php
│ │ │ │ │ │ ├── UuidTest.php
│ │ │ │ │ │ ├── at_AT
│ │ │ │ │ │ └── PaymentTest.php
│ │ │ │ │ │ ├── be_BE
│ │ │ │ │ │ └── PaymentTest.php
│ │ │ │ │ │ ├── bg_BG
│ │ │ │ │ │ └── PaymentTest.php
│ │ │ │ │ │ ├── de_AT
│ │ │ │ │ │ ├── InternetTest.php
│ │ │ │ │ │ └── PhoneNumberTest.php
│ │ │ │ │ │ ├── fr_FR
│ │ │ │ │ │ └── CompanyTest.php
│ │ │ │ │ │ ├── id_ID
│ │ │ │ │ │ └── PersonTest.php
│ │ │ │ │ │ ├── ja_JP
│ │ │ │ │ │ └── PersonTest.php
│ │ │ │ │ │ ├── pt_PT
│ │ │ │ │ │ ├── AddressTest.php
│ │ │ │ │ │ ├── PersonTest.php
│ │ │ │ │ │ └── PhoneNumberTest.php
│ │ │ │ │ │ ├── ro_RO
│ │ │ │ │ │ ├── PersonTest.php
│ │ │ │ │ │ └── PhoneNumberTest.php
│ │ │ │ │ │ ├── sv_SE
│ │ │ │ │ │ └── PersonTest.php
│ │ │ │ │ │ └── uk_UA
│ │ │ │ │ │ ├── AddressTest.php
│ │ │ │ │ │ └── PhoneNumberTest.php
│ │ │ │ │ ├── documentor.php
│ │ │ │ │ └── test.php
│ │ │ │ └── readme.md
│ │ ├── index.php
│ │ ├── l10n
│ │ │ ├── fakerpress-pt_BR.mo
│ │ │ ├── fakerpress-zh_CN.mo
│ │ │ ├── fakerpress.pot
│ │ │ ├── index.php
│ │ │ └── readme.md
│ │ ├── modules
│ │ │ ├── attachment.php
│ │ │ ├── base.php
│ │ │ ├── comment.php
│ │ │ ├── meta.php
│ │ │ ├── post.php
│ │ │ ├── term.php
│ │ │ └── user.php
│ │ ├── package.json
│ │ ├── providers
│ │ │ ├── html.php
│ │ │ ├── image
│ │ │ │ ├── 500px.php
│ │ │ │ ├── lorempixel.php
│ │ │ │ └── placeholdit.php
│ │ │ ├── text
│ │ │ │ ├── bacon.php
│ │ │ │ └── base.php
│ │ │ ├── wp-attachment.php
│ │ │ ├── wp-comment.php
│ │ │ ├── wp-meta.php
│ │ │ ├── wp-post.php
│ │ │ ├── wp-term.php
│ │ │ └── wp-user.php
│ │ ├── readme.md
│ │ ├── readme.txt
│ │ ├── svn-url
│ │ ├── ui
│ │ │ ├── css
│ │ │ │ ├── admin.css
│ │ │ │ ├── admin.scss
│ │ │ │ ├── datepicker.css
│ │ │ │ ├── datepicker.scss
│ │ │ │ ├── font.css
│ │ │ │ ├── font.scss
│ │ │ │ ├── jquery-ui.css
│ │ │ │ ├── jquery-ui.scss
│ │ │ │ ├── messages.css
│ │ │ │ └── messages.scss
│ │ │ ├── font
│ │ │ │ ├── fakerpress.eot
│ │ │ │ ├── fakerpress.svg
│ │ │ │ ├── fakerpress.ttf
│ │ │ │ └── fakerpress.woff
│ │ │ ├── js
│ │ │ │ ├── fields.js
│ │ │ │ └── fields.min.js
│ │ │ └── vendor
│ │ │ │ └── select2
│ │ │ │ ├── select2-spinner.gif
│ │ │ │ ├── select2-wordpress.css
│ │ │ │ ├── select2.css
│ │ │ │ ├── select2.min.js
│ │ │ │ ├── select2.png
│ │ │ │ └── select2x2.png
│ │ └── view
│ │ │ ├── attachments.php
│ │ │ ├── changelog.php
│ │ │ ├── comments.php
│ │ │ ├── error.php
│ │ │ ├── posts.php
│ │ │ ├── settings.php
│ │ │ ├── terms.php
│ │ │ └── users.php
│ ├── index.php
│ └── liveblog-likes.php
└── themes
│ ├── index.php
│ └── twentyseventeen
│ ├── 404.php
│ ├── README.txt
│ ├── archive.php
│ ├── assets
│ ├── css
│ │ ├── colors-dark.css
│ │ ├── editor-style.css
│ │ ├── ie8.css
│ │ └── ie9.css
│ ├── images
│ │ ├── coffee.jpg
│ │ ├── espresso.jpg
│ │ ├── header.jpg
│ │ ├── sandwich.jpg
│ │ └── svg-icons.svg
│ └── js
│ │ ├── customize-controls.js
│ │ ├── customize-preview.js
│ │ ├── global.js
│ │ ├── html5.js
│ │ ├── jquery.scrollTo.js
│ │ ├── navigation.js
│ │ └── skip-link-focus-fix.js
│ ├── comments.php
│ ├── footer.php
│ ├── front-page.php
│ ├── functions.php
│ ├── header.php
│ ├── inc
│ ├── back-compat.php
│ ├── color-patterns.php
│ ├── custom-header.php
│ ├── customizer.php
│ ├── icon-functions.php
│ ├── template-functions.php
│ └── template-tags.php
│ ├── index.php
│ ├── page.php
│ ├── rtl.css
│ ├── screenshot.png
│ ├── search.php
│ ├── searchform.php
│ ├── sidebar.php
│ ├── single.php
│ ├── style.css
│ └── template-parts
│ ├── footer
│ ├── footer-widgets.php
│ └── site-info.php
│ ├── header
│ ├── header-image.php
│ └── site-branding.php
│ ├── navigation
│ └── navigation-top.php
│ ├── page
│ ├── content-front-page-panels.php
│ ├── content-front-page.php
│ └── content-page.php
│ └── post
│ ├── content-audio.php
│ ├── content-excerpt.php
│ ├── content-gallery.php
│ ├── content-image.php
│ ├── content-none.php
│ ├── content-video.php
│ └── content.php
├── package.json
├── spec
└── index.html
├── wp-cli.yml
└── wp-config-local-sample.php
/.build-script:
--------------------------------------------------------------------------------
1 | composer install --no-dev
2 |
3 | cd content/mu-plugins/restsplain
4 | git checkout master
5 | git pull
6 | cd ../../themes/broker-authentication
7 | git checkout master
8 | git pull
9 | cd ../apps-beta
10 | git checkout v2
11 | git pull
12 | git submodule update --init --recursive
13 | npm install
14 | npm run build
15 | cd ../../plugins/basic-auth
16 | git checkout master
17 | git pull
18 | cd ../rest-oauth
19 | git checkout master
20 | git pull
21 | cd ../rest-oauth2
22 | git checkout master
23 | git pull
24 | cd ../app-connect-server
25 | git checkout master
26 | git pull
27 |
--------------------------------------------------------------------------------
/.config/load.php:
--------------------------------------------------------------------------------
1 | prefix = $prefix;
14 | $this->prefix_length = strlen( $prefix );
15 | $this->path = trailingslashit( $path );
16 | }
17 |
18 | public function load( $class ) {
19 | if ( strpos( $class, $this->prefix . self::NS_SEPARATOR ) !== 0 ) {
20 | return;
21 | }
22 |
23 | // Strip prefix from the start (ala PSR-4)
24 | $class = substr( $class, $this->prefix_length + 1 );
25 | $class = strtolower( $class );
26 | $file = '';
27 |
28 | if ( false !== ( $last_ns_pos = strripos( $class, self::NS_SEPARATOR ) ) ) {
29 | $namespace = substr( $class, 0, $last_ns_pos );
30 | $class = substr( $class, $last_ns_pos + 1 );
31 | $file = str_replace( self::NS_SEPARATOR, DIRECTORY_SEPARATOR, $namespace ) . DIRECTORY_SEPARATOR;
32 | }
33 | $file .= 'class-' . str_replace( '_', '-', $class ) . '.php';
34 |
35 | $path = $this->path . $file;
36 |
37 | if ( file_exists( $path ) ) {
38 | require_once $path;
39 | }
40 | }
41 | }
42 |
43 | function register_class_path( $prefix, $path ) {
44 | $loader = new Autoloader( $prefix, $path );
45 | spl_autoload_register( [ $loader, 'load' ] );
46 | }
47 |
--------------------------------------------------------------------------------
/content/mu-plugins/cache-busting-magic.php:
--------------------------------------------------------------------------------
1 | queue as $name ) {
21 |
22 | if ( empty( $$resource->registered[$name] ) )
23 | continue;
24 |
25 | $src = $$resource->registered[$name]->src;
26 |
27 | // Admin scripts use path relative to site_url.
28 | if ( 0 === strpos( $src , '/' ) )
29 | $src = site_url( $src );
30 |
31 | // Skip external scripts.
32 | if ( false === strpos( $src, home_url() ) )
33 | continue;
34 |
35 | $file = str_replace( home_url( '/' ), $site_root_path, $src );
36 |
37 | if ( ! file_exists( $file ) )
38 | continue;
39 |
40 | $mtime = filectime( $file );
41 | $$resource->registered[$name]->ver = $$resource->registered[$name]->ver . '-' . $mtime;
42 |
43 | }
44 | }
45 |
46 | }, 100 );
--------------------------------------------------------------------------------
/content/plugins/fakerpress/.jshintignore:
--------------------------------------------------------------------------------
1 | ui/vendor/**
--------------------------------------------------------------------------------
/content/plugins/fakerpress/bin/.jshintrc:
--------------------------------------------------------------------------------
1 | {
2 | "boss": true,
3 | "curly": true,
4 | "eqeqeq": true,
5 | "eqnull": true,
6 | "expr": true,
7 | "immed": true,
8 | "noarg": true,
9 | "quotmark": "single",
10 | "trailing": true,
11 | "undef": true,
12 | "unused": true,
13 |
14 | "browser": true,
15 |
16 | "globals": {
17 | "jQuery": false,
18 | "_": false,
19 | "wp": false
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/content/plugins/fakerpress/bin/.travis.yml:
--------------------------------------------------------------------------------
1 | language:
2 | - php
3 | - node_js
4 |
5 | php:
6 | - 5.3
7 | - 5.4
8 |
9 | node_js:
10 | - 0.10
11 |
12 | env:
13 | - WP_VERSION=master WP_MULTISITE=0
14 | - WP_VERSION=master WP_MULTISITE=1
15 | - WP_VERSION=latest WP_MULTISITE=0
16 | - WP_VERSION=latest WP_MULTISITE=1
17 |
18 | before_script:
19 | - export WP_TESTS_DIR=/tmp/wordpress-tests/
20 | - export PLUGIN_DIR=$(pwd)
21 | - export PLUGIN_SLUG=$(basename $(pwd) | sed 's/^wp-//')
22 | - if [ -e phpunit.xml ] || [ -e phpunit.xml.dist ]; then bash bin/install-wp-tests.sh wordpress_test root '' localhost $WP_VERSION; cd /tmp/wordpress/wp-content/plugins; ln -s $PLUGIN_DIR $PLUGIN_SLUG; cd $PLUGIN_DIR; fi
23 | - pear config-set auto_discover 1
24 | - pear install PHP_CodeSniffer
25 | - git clone git://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards.git $(pear config-get php_dir)/PHP/CodeSniffer/Standards/WordPress
26 | - phpenv rehash
27 | - npm install -g jshint
28 |
29 | script:
30 | - find . -path ./bin -prune -o \( -name '*.php' -o -name '*.inc' \) -exec php -lf {} \;
31 | - if [ -e phpunit.xml ] || [ -e phpunit.xml.dist ]; then phpunit; fi
32 | - phpcs --standard=$(if [ -e phpcs.ruleset.xml ]; then echo phpcs.ruleset.xml; else echo WordPress; fi) $(find . -name '*.php')
33 | - jshint .
34 |
--------------------------------------------------------------------------------
/content/plugins/fakerpress/bin/contributing.md:
--------------------------------------------------------------------------------
1 | Pull requests should be opened with the `develop` branch as the base. Do not
2 | open pull requests into the `master` branch, as this branch contains the latest
3 | stable release.
4 |
--------------------------------------------------------------------------------
/content/plugins/fakerpress/bin/phpcs.ruleset.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | Generally-applicable sniffs for WordPress plugins
4 |
5 |
6 |
7 | */tests/*
8 | */vendor/*
9 | */bin/*
10 |
--------------------------------------------------------------------------------
/content/plugins/fakerpress/inc/vendor/Faker/.gitignore:
--------------------------------------------------------------------------------
1 | vendor
2 | composer.lock
3 |
--------------------------------------------------------------------------------
/content/plugins/fakerpress/inc/vendor/Faker/.travis.yml:
--------------------------------------------------------------------------------
1 | language: php
2 |
3 | php:
4 | - 5.3
5 | - 5.4
6 | - 5.5
7 | - 5.6
8 | - 7.0
9 | - hhvm
10 |
11 | sudo: false
12 |
13 | before_script:
14 | - travis_retry composer self-update
15 | - travis_retry composer install --no-interaction --prefer-source --dev
16 |
17 | script: make sniff test
18 |
--------------------------------------------------------------------------------
/content/plugins/fakerpress/inc/vendor/Faker/LICENSE:
--------------------------------------------------------------------------------
1 | Copyright (c) 2011 François Zaninotto
2 | Portions Copyright (c) 2008 Caius Durling
3 | Portions Copyright (c) 2008 Adam Royle
4 | Portions Copyright (c) 2008 Fiona Burrows
5 |
6 | Permission is hereby granted, free of charge, to any person obtaining a copy
7 | of this software and associated documentation files (the "Software"), to deal
8 | in the Software without restriction, including without limitation the rights
9 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10 | copies of the Software, and to permit persons to whom the Software is
11 | furnished to do so, subject to the following conditions:
12 |
13 | The above copyright notice and this permission notice shall be included in
14 | all copies or substantial portions of the Software.
15 |
16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
22 | THE SOFTWARE.
23 |
--------------------------------------------------------------------------------
/content/plugins/fakerpress/inc/vendor/Faker/Makefile:
--------------------------------------------------------------------------------
1 | vendor/autoload.php:
2 | composer install --no-interaction --prefer-source --dev
3 |
4 | .PHONY: sniff
5 | sniff: vendor/autoload.php
6 | vendor/bin/phpcs --standard=PSR2 src -n
7 |
8 | .PHONY: test
9 | test: vendor/autoload.php
10 | vendor/bin/phpunit --verbose
11 |
--------------------------------------------------------------------------------
/content/plugins/fakerpress/inc/vendor/Faker/composer.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "fzaninotto/faker",
3 | "type": "library",
4 | "description": "Faker is a PHP library that generates fake data for you.",
5 | "keywords": ["faker", "fixtures", "data"],
6 | "license": "MIT",
7 | "authors": [
8 | {
9 | "name": "François Zaninotto"
10 | }
11 | ],
12 | "require": {
13 | "php": ">=5.3.3"
14 | },
15 | "require-dev": {
16 | "phpunit/phpunit": "~4.0",
17 | "squizlabs/php_codesniffer": "~1.5"
18 | },
19 | "suggest": {
20 | "ext-intl": "*"
21 | },
22 | "autoload": {
23 | "psr-4": {
24 | "Faker\\": "src/Faker/"
25 | }
26 | },
27 | "autoload-dev": {
28 | "psr-4": {
29 | "Faker\\PHPUnit\\": "test/Faker/"
30 | }
31 | },
32 | "extra": {
33 | "branch-alias": {
34 | "dev-master": "1.5.x-dev"
35 | }
36 | }
37 | }
38 |
--------------------------------------------------------------------------------
/content/plugins/fakerpress/inc/vendor/Faker/phpunit.xml.dist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ./test/Faker/
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/content/plugins/fakerpress/inc/vendor/Faker/src/Faker/Calculator/Luhn.php:
--------------------------------------------------------------------------------
1 | = 0; $i -= 2) {
24 | $sum += $number{$i};
25 | }
26 | for ($i = $length - 2; $i >= 0; $i -= 2) {
27 | $sum += array_sum(str_split($number{$i} * 2));
28 | }
29 |
30 | return $sum % 10;
31 | }
32 |
33 | /**
34 | * @return string
35 | */
36 | public static function computeCheckDigit($partialNumber)
37 | {
38 | $checkDigit = self::checksum($partialNumber . '0');
39 | if ($checkDigit === 0) {
40 | return 0;
41 | }
42 |
43 | return (string) (10 - $checkDigit);
44 | }
45 |
46 | /**
47 | * Checks whether a number (partial number + check digit) is Luhn compliant
48 | *
49 | * @return boolean
50 | */
51 | public static function isValid($number)
52 | {
53 | return self::checksum($number) === 0;
54 | }
55 | }
56 |
--------------------------------------------------------------------------------
/content/plugins/fakerpress/inc/vendor/Faker/src/Faker/DefaultGenerator.php:
--------------------------------------------------------------------------------
1 | optional().
8 | */
9 | class DefaultGenerator
10 | {
11 | protected $default = null;
12 |
13 | public function __construct($default = null)
14 | {
15 | $this->default = $default;
16 | }
17 |
18 | public function __get($attribute)
19 | {
20 | return $this->default;
21 | }
22 |
23 | public function __call($method, $attributes)
24 | {
25 | return $this->default;
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/content/plugins/fakerpress/inc/vendor/Faker/src/Faker/Factory.php:
--------------------------------------------------------------------------------
1 | addProvider(new $providerClassName($generator));
17 | }
18 |
19 | return $generator;
20 | }
21 |
22 | protected static function getProviderClassname($provider, $locale = '')
23 | {
24 | if ($providerClass = self::findProviderClassname($provider, $locale)) {
25 | return $providerClass;
26 | }
27 | // fallback to default locale
28 | if ($providerClass = self::findProviderClassname($provider, static::DEFAULT_LOCALE)) {
29 | return $providerClass;
30 | }
31 | // fallback to no locale
32 | $providerClass = self::findProviderClassname($provider);
33 | if (class_exists($providerClass)) {
34 | return $providerClass;
35 | }
36 | throw new \InvalidArgumentException(sprintf('Unable to find provider "%s" with locale "%s"', $provider, $locale));
37 | }
38 |
39 | protected static function findProviderClassname($provider, $locale = '')
40 | {
41 | $providerClass = 'Faker\\' . ($locale ? sprintf('Provider\%s\%s', $locale, $provider) : sprintf('Provider\%s', $provider));
42 | if (class_exists($providerClass, true)) {
43 | return $providerClass;
44 | }
45 | }
46 | }
47 |
--------------------------------------------------------------------------------
/content/plugins/fakerpress/inc/vendor/Faker/src/Faker/ORM/Mandango/ColumnTypeGuesser.php:
--------------------------------------------------------------------------------
1 | generator = $generator;
12 | }
13 |
14 | public function guessFormat($field)
15 | {
16 | $generator = $this->generator;
17 | switch ($field['type']) {
18 | case 'boolean':
19 | return function () use ($generator) {
20 | return $generator->boolean;
21 | };
22 | case 'integer':
23 | return function () {
24 | return mt_rand(0, intval('4294967295'));
25 | };
26 | case 'float':
27 | return function () {
28 | return mt_rand(0, intval('4294967295'))/mt_rand(1, intval('4294967295'));
29 | };
30 | case 'string':
31 | return function () use ($generator) {
32 | return $generator->text(255);
33 | };
34 | case 'date':
35 | return function () use ($generator) {
36 | return $generator->datetime;
37 | };
38 | default:
39 | // no smart way to guess what the user expects here
40 | return null;
41 | }
42 | }
43 | }
44 |
--------------------------------------------------------------------------------
/content/plugins/fakerpress/inc/vendor/Faker/src/Faker/Provider/Barcode.php:
--------------------------------------------------------------------------------
1 | numerify(str_repeat('#', $length - 1));
13 |
14 | return $code . static::eanChecksum($code);
15 | }
16 |
17 | /**
18 | * Utility function for computing EAN checksums
19 | */
20 | protected static function eanChecksum($input)
21 | {
22 | $sequence = (strlen($input) - 1) == 8 ? array(3, 1) : array(1, 3);
23 | $sums = 0;
24 | foreach (str_split($input) as $n => $digit) {
25 | $sums += $digit * $sequence[$n % 2];
26 | }
27 | return (10 - $sums % 10) % 10;
28 | }
29 |
30 | /**
31 | * Get a random EAN13 barcode.
32 | * @return string
33 | * @example '4006381333931'
34 | */
35 | public function ean13()
36 | {
37 | return $this->ean(13);
38 | }
39 |
40 | /**
41 | * Get a random EAN8 barcode.
42 | * @return string
43 | * @example '73513537'
44 | */
45 | public function ean8()
46 | {
47 | return $this->ean(8);
48 | }
49 | }
50 |
--------------------------------------------------------------------------------
/content/plugins/fakerpress/inc/vendor/Faker/src/Faker/Provider/Company.php:
--------------------------------------------------------------------------------
1 | generator->parse($format);
21 | }
22 |
23 | /**
24 | * @example 'Ltd'
25 | */
26 | public static function companySuffix()
27 | {
28 | return static::randomElement(static::$companySuffix);
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/content/plugins/fakerpress/inc/vendor/Faker/src/Faker/Provider/PhoneNumber.php:
--------------------------------------------------------------------------------
1 | > 8) | (($tLo & 0xff000000) >> 24);
31 | $tMi = (($tMi & 0x00ff) << 8) | (($tMi & 0xff00) >> 8);
32 | $tHi = (($tHi & 0x00ff) << 8) | (($tHi & 0xff00) >> 8);
33 | }
34 |
35 | // apply version number
36 | $tHi &= 0x0fff;
37 | $tHi |= (3 << 12);
38 |
39 | // cast to string
40 | $uuid = sprintf(
41 | '%08x-%04x-%04x-%02x%02x-%02x%02x%02x%02x%02x%02x',
42 | $tLo,
43 | $tMi,
44 | $tHi,
45 | $csHi,
46 | $csLo,
47 | $byte[10],
48 | $byte[11],
49 | $byte[12],
50 | $byte[13],
51 | $byte[14],
52 | $byte[15]
53 | );
54 |
55 | return $uuid;
56 | }
57 | }
58 |
--------------------------------------------------------------------------------
/content/plugins/fakerpress/inc/vendor/Faker/src/Faker/Provider/ar_JO/Company.php:
--------------------------------------------------------------------------------
1 | generator->parse($format));
46 | }
47 |
48 | /**
49 | * @example 'wewebit.jo'
50 | */
51 | public function domainName()
52 | {
53 | return static::randomElement(static::$lastNameAscii) . '.' . $this->tld();
54 | }
55 | }
56 |
--------------------------------------------------------------------------------
/content/plugins/fakerpress/inc/vendor/Faker/src/Faker/Provider/at_AT/Payment.php:
--------------------------------------------------------------------------------
1 |
7 | */
8 | class Internet extends \Faker\Provider\Internet
9 | {
10 | /**
11 | * @var array Some safe email TLD.
12 | */
13 | protected static $safeEmailTld = array(
14 | 'org', 'com', 'net', 'dk', 'dk', 'dk',
15 | );
16 |
17 | /**
18 | * @var array Some email domains in Denmark.
19 | */
20 | protected static $freeEmailDomain = array(
21 | 'gmail.com', 'yahoo.com', 'yahoo.dk', 'hotmail.com', 'hotmail.dk', 'mail.dk', 'live.dk'
22 | );
23 |
24 | /**
25 | * @var array Some TLD.
26 | */
27 | protected static $tld = array(
28 | 'com', 'com', 'com', 'biz', 'info', 'net', 'org', 'dk', 'dk', 'dk',
29 | );
30 | }
31 |
--------------------------------------------------------------------------------
/content/plugins/fakerpress/inc/vendor/Faker/src/Faker/Provider/da_DK/Payment.php:
--------------------------------------------------------------------------------
1 |
7 | */
8 | class PhoneNumber extends \Faker\Provider\PhoneNumber
9 | {
10 | /**
11 | * @var array Danish phonenumber formats.
12 | */
13 | protected static $formats = array(
14 | '+45 ## ## ## ##',
15 | '+45 #### ####',
16 | '+45########',
17 | '## ## ## ##',
18 | '#### ####',
19 | '########',
20 | );
21 | }
22 |
--------------------------------------------------------------------------------
/content/plugins/fakerpress/inc/vendor/Faker/src/Faker/Provider/de_AT/Company.php:
--------------------------------------------------------------------------------
1 |
7 | */
8 | class Company extends \Faker\Provider\Company
9 | {
10 | /**
11 | * @var array Danish company name formats.
12 | */
13 | protected static $formats = array(
14 | '{{lastName}} {{companySuffix}}',
15 | '{{lastName}} {{companySuffix}}',
16 | '{{lastName}} {{companySuffix}}',
17 | '{{firstname}} {{lastName}} {{companySuffix}}',
18 | '{{middleName}} {{companySuffix}}',
19 | '{{middleName}} {{companySuffix}}',
20 | '{{middleName}} {{companySuffix}}',
21 | '{{firstname}} {{middleName}} {{companySuffix}}',
22 | '{{lastName}} & {{lastName}} {{companySuffix}}',
23 | '{{lastName}} og {{lastName}} {{companySuffix}}',
24 | '{{lastName}} & {{lastName}} {{companySuffix}}',
25 | '{{lastName}} og {{lastName}} {{companySuffix}}',
26 | '{{middleName}} & {{middleName}} {{companySuffix}}',
27 | '{{middleName}} og {{middleName}} {{companySuffix}}',
28 | '{{middleName}} & {{lastName}}',
29 | '{{middleName}} og {{lastName}}',
30 | );
31 |
32 | /**
33 | * @var array Company suffixes.
34 | */
35 | protected static $companySuffix = array('ehf.', 'hf.', 'sf.');
36 |
37 | /**
38 | * @link http://www.rsk.is/atvinnurekstur/virdisaukaskattur/
39 | *
40 | * @var string VSK number format.
41 | */
42 | protected static $vskFormat = '%####';
43 |
44 | /**
45 | * Generates a VSK number (5 digits).
46 | *
47 | * @return string
48 | */
49 | public static function vsk()
50 | {
51 | return static::numerify(static::$vskFormat);
52 | }
53 | }
54 |
--------------------------------------------------------------------------------
/content/plugins/fakerpress/inc/vendor/Faker/src/Faker/Provider/is_IS/Internet.php:
--------------------------------------------------------------------------------
1 |
7 | */
8 | class Internet extends \Faker\Provider\Internet
9 | {
10 | /**
11 | * @var array Some email domains in Denmark.
12 | */
13 | protected static $freeEmailDomain = array(
14 | 'gmail.com', 'yahoo.com', 'hotmail.com', 'visir.is', 'simnet.is', 'internet.is'
15 | );
16 |
17 | /**
18 | * @var array Some TLD.
19 | */
20 | protected static $tld = array(
21 | 'com', 'com', 'com', 'net', 'is', 'is', 'is',
22 | );
23 | }
24 |
--------------------------------------------------------------------------------
/content/plugins/fakerpress/inc/vendor/Faker/src/Faker/Provider/is_IS/Payment.php:
--------------------------------------------------------------------------------
1 |
7 | */
8 | class PhoneNumber extends \Faker\Provider\PhoneNumber
9 | {
10 | /**
11 | * @var array Icelandic phone number formats.
12 | */
13 | protected static $formats = array(
14 | '+354 ### ####',
15 | '+354 #######',
16 | '+354#######',
17 | '### ####',
18 | '#######',
19 | );
20 | }
21 |
--------------------------------------------------------------------------------
/content/plugins/fakerpress/inc/vendor/Faker/src/Faker/Provider/it_IT/Internet.php:
--------------------------------------------------------------------------------
1 | generator->parse($format));
48 | }
49 |
50 | /**
51 | * @example 'yamada.jp'
52 | */
53 | public function domainName()
54 | {
55 | return static::randomElement(static::$lastNameAscii) . '.' . $this->tld();
56 | }
57 | }
58 |
--------------------------------------------------------------------------------
/content/plugins/fakerpress/inc/vendor/Faker/src/Faker/Provider/ja_JP/PhoneNumber.php:
--------------------------------------------------------------------------------
1 | generator->parse($format);
36 | }
37 |
38 | public static function companyPrefix()
39 | {
40 | return static::randomElement(static::$companyPrefixes);
41 | }
42 |
43 | public static function companyNameElement()
44 | {
45 | return static::randomElement(static::$companyElements);
46 | }
47 |
48 | public static function companyNameSuffix()
49 | {
50 | return static::randomElement(static::$companyNameSuffixes);
51 | }
52 | }
53 |
--------------------------------------------------------------------------------
/content/plugins/fakerpress/inc/vendor/Faker/src/Faker/Provider/ru_RU/Internet.php:
--------------------------------------------------------------------------------
1 | generator->parse($format);
33 | }
34 |
35 | public static function companyPrefix()
36 | {
37 | return static::randomElement(static::$companyPrefix);
38 | }
39 |
40 | public static function companyName()
41 | {
42 | return static::randomElement(static::$companyName);
43 | }
44 | }
45 |
--------------------------------------------------------------------------------
/content/plugins/fakerpress/inc/vendor/Faker/src/Faker/Provider/uk_UA/Internet.php:
--------------------------------------------------------------------------------
1 | format('a') === 'am' ? '上午' : '下午';
10 | }
11 |
12 | public static function dayOfWeek($max = 'now')
13 | {
14 | $map = array(
15 | 'Sunday' => '星期日',
16 | 'Monday' => '星期一',
17 | 'Tuesday' => '星期二',
18 | 'Wednesday' => '星期三',
19 | 'Thursday' => '星期四',
20 | 'Friday' => '星期五',
21 | 'Saturday' => '星期六',
22 | );
23 | $week = static::dateTime($max)->format('l');
24 | return isset($map[$week]) ? $map[$week] : $week;
25 | }
26 |
27 | public static function monthName($max = 'now')
28 | {
29 | $map = array(
30 | 'January' => '一月',
31 | 'February' => '二月',
32 | 'March' => '三月',
33 | 'April' => '四月',
34 | 'May' => '五月',
35 | 'June' => '六月',
36 | 'July' => '七月',
37 | 'August' => '八月',
38 | 'September' => '九月',
39 | 'October' => '十月',
40 | 'November' => '十一月',
41 | 'December' => '十二月',
42 | );
43 | $month = static::dateTime($max)->format('F');
44 | return isset($map[$month]) ? $map[$month] : $month;
45 | }
46 | }
47 |
--------------------------------------------------------------------------------
/content/plugins/fakerpress/inc/vendor/Faker/src/Faker/Provider/zh_TW/Internet.php:
--------------------------------------------------------------------------------
1 | userName();
10 | }
11 |
12 | public function domainWord()
13 | {
14 | return \Faker\Factory::create('en_US')->domainWord();
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/content/plugins/fakerpress/inc/vendor/Faker/src/Faker/Provider/zh_TW/Payment.php:
--------------------------------------------------------------------------------
1 | creditCardDetails($valid);
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/content/plugins/fakerpress/inc/vendor/Faker/src/Faker/Provider/zh_TW/PhoneNumber.php:
--------------------------------------------------------------------------------
1 | unique()
8 | */
9 | class UniqueGenerator
10 | {
11 | protected $generator;
12 | protected $maxRetries;
13 | protected $uniques = array();
14 |
15 | public function __construct(Generator $generator, $maxRetries)
16 | {
17 | $this->generator = $generator;
18 | $this->maxRetries = $maxRetries;
19 | }
20 |
21 | /**
22 | * Catch and proxy all generator calls but return only unique values
23 | */
24 | public function __get($attribute)
25 | {
26 | return $this->__call($attribute, array());
27 | }
28 |
29 | /**
30 | * Catch and proxy all generator calls with arguments but return only unique values
31 | */
32 | public function __call($name, $arguments)
33 | {
34 | if (!isset($this->uniques[$name])) {
35 | $this->uniques[$name] = array();
36 | }
37 | $i = 0;
38 | do {
39 | $res = call_user_func_array(array($this->generator, $name), $arguments);
40 | $i++;
41 | if ($i > $this->maxRetries) {
42 | throw new \OverflowException(sprintf('Maximum retries of %d reached without finding a unique value', $this->maxRetries));
43 | }
44 | } while (array_key_exists($res, $this->uniques[$name]));
45 | $this->uniques[$name][$res]= null;
46 |
47 | return $res;
48 | }
49 | }
50 |
--------------------------------------------------------------------------------
/content/plugins/fakerpress/inc/vendor/Faker/src/autoload.php:
--------------------------------------------------------------------------------
1 | assertSame(null, $generator->value);
13 | }
14 |
15 | public function testGeneratorReturnsDefaultValueForAnyPropertyGet()
16 | {
17 | $generator = new DefaultGenerator(123);
18 | $this->assertSame(123, $generator->foo);
19 | $this->assertNotSame(null, $generator->bar);
20 | }
21 |
22 | public function testGeneratorReturnsDefaultValueForAnyMethodCall()
23 | {
24 | $generator = new DefaultGenerator(123);
25 | $this->assertSame(123, $generator->foobar());
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/content/plugins/fakerpress/inc/vendor/Faker/test/Faker/Provider/AddressTest.php:
--------------------------------------------------------------------------------
1 | addProvider(new Address($faker));
16 | $this->faker = $faker;
17 | }
18 |
19 | public function testLatitude()
20 | {
21 | $latitude = $this->faker->latitude();
22 | $this->assertInternalType('float', $latitude);
23 | $this->assertGreaterThanOrEqual(-90, $latitude);
24 | $this->assertLessThanOrEqual(90, $latitude);
25 | }
26 |
27 | public function testLongitude()
28 | {
29 | $longitude = $this->faker->longitude();
30 | $this->assertInternalType('float', $longitude);
31 | $this->assertGreaterThanOrEqual(-180, $longitude);
32 | $this->assertLessThanOrEqual(180, $longitude);
33 | }
34 | }
35 |
--------------------------------------------------------------------------------
/content/plugins/fakerpress/inc/vendor/Faker/test/Faker/Provider/BarcodeTest.php:
--------------------------------------------------------------------------------
1 | addProvider(new Barcode($faker));
16 | $faker->seed(0);
17 | $this->faker = $faker;
18 | }
19 |
20 | public function testEan8()
21 | {
22 | $code = $this->faker->ean8();
23 | $this->assertRegExp('/^\d{8}$/i', $code);
24 | $codeWitoutChecksum = substr($code, 0, -1);
25 | $checksum = substr($code, -1);
26 | $this->assertEquals(TestableBarcode::eanChecksum($codeWitoutChecksum), $checksum);
27 | }
28 |
29 | public function testEan13()
30 | {
31 | $code = $this->faker->ean13();
32 | $this->assertRegExp('/^\d{13}$/i', $code);
33 | $codeWitoutChecksum = substr($code, 0, -1);
34 | $checksum = substr($code, -1);
35 | $this->assertEquals(TestableBarcode::eanChecksum($codeWitoutChecksum), $checksum);
36 | }
37 | }
38 |
39 | class TestableBarcode extends Barcode
40 | {
41 | public static function eanChecksum($input)
42 | {
43 | return parent::eanChecksum($input);
44 | }
45 | }
46 |
--------------------------------------------------------------------------------
/content/plugins/fakerpress/inc/vendor/Faker/test/Faker/Provider/ColorTest.php:
--------------------------------------------------------------------------------
1 | assertRegExp('/^#[a-f0-9]{6}$/i', Color::hexColor());
13 | }
14 |
15 | public function testSafeHexColor()
16 | {
17 | $this->assertRegExp('/^#[a-f0-9]{6}$/i', Color::safeHexColor());
18 | }
19 |
20 | public function testRgbColorAsArray()
21 | {
22 | $this->assertEquals(3, count(Color::rgbColorAsArray()));
23 | }
24 |
25 | public function testRgbColor()
26 | {
27 | $regexp = '([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])';
28 | $this->assertRegExp('/^' . $regexp . ',' . $regexp . ',' . $regexp . '$/i', Color::rgbColor());
29 | }
30 |
31 | public function testRgbCssColor()
32 | {
33 | $regexp = '([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])';
34 | $this->assertRegExp('/^rgb\(' . $regexp . ',' . $regexp . ',' . $regexp . '\)$/i', Color::rgbCssColor());
35 | }
36 |
37 | public function testSafeColorName()
38 | {
39 | $this->assertRegExp('/^[\w]+$/', Color::safeColorName());
40 | }
41 |
42 | public function testColorName()
43 | {
44 | $this->assertRegExp('/^[\w]+$/', Color::colorName());
45 | }
46 | }
47 |
--------------------------------------------------------------------------------
/content/plugins/fakerpress/inc/vendor/Faker/test/Faker/Provider/ImageTest.php:
--------------------------------------------------------------------------------
1 | assertRegExp('#^http://lorempixel.com/640/480/#', Image::imageUrl());
12 | }
13 |
14 | public function testImageUrlAcceptsCustomWidthAndHeight()
15 | {
16 | $this->assertRegExp('#^http://lorempixel.com/800/400/#', Image::imageUrl(800, 400));
17 | }
18 |
19 | public function testImageUrlAcceptsCustomCategory()
20 | {
21 | $this->assertRegExp('#^http://lorempixel.com/800/400/nature/#', Image::imageUrl(800, 400, 'nature'));
22 | }
23 |
24 | public function testImageUrlAddsARandomGetParameterByDefault()
25 | {
26 | $url = Image::imageUrl(800, 400);
27 | $splitUrl = preg_split('/\?/', $url);
28 |
29 | $this->assertEquals(count($splitUrl), 2);
30 | $this->assertRegexp('#\d{5}#', $splitUrl[1]);
31 | }
32 |
33 | /**
34 | * @expectedException \InvalidArgumentException
35 | */
36 | public function testUrlWithDimensionsAndBadCategory()
37 | {
38 | Image::imageUrl(800, 400, 'bullhonky');
39 | }
40 |
41 | public function testDownloadWithDefaults()
42 | {
43 | $file = Image::image(sys_get_temp_dir());
44 | $this->assertFileExists($file);
45 | if (function_exists('getimagesize')) {
46 | list($width, $height, $type, $attr) = getimagesize($file);
47 | $this->assertEquals(640, $width);
48 | $this->assertEquals(480, $height);
49 | $this->assertEquals(constant('IMAGETYPE_JPEG'), $type);
50 | } else {
51 | $this->assertEquals('jpg', pathinfo($file, PATHINFO_EXTENSION));
52 | }
53 | if (file_exists($file)) {
54 | unlink($file);
55 | }
56 | }
57 | }
58 |
--------------------------------------------------------------------------------
/content/plugins/fakerpress/inc/vendor/Faker/test/Faker/Provider/LocalizationTest.php:
--------------------------------------------------------------------------------
1 | assertNotNull($faker->name(), 'Localized Name Provider ' . $matches[1] . ' does not throw errors');
15 | }
16 | }
17 |
18 | public function testLocalizedAddressProvidersDoNotThrowErrors()
19 | {
20 | foreach (glob(__DIR__ . '/../../../src/Faker/Provider/*/Address.php') as $localizedAddress) {
21 | preg_match('#/([a-zA-Z_]+)/Address\.php#', $localizedAddress, $matches);
22 | $faker = Factory::create($matches[1]);
23 | $this->assertNotNull($faker->address(), 'Localized Address Provider ' . $matches[1] . ' does not throw errors');
24 | }
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/content/plugins/fakerpress/inc/vendor/Faker/test/Faker/Provider/MiscellaneousTest.php:
--------------------------------------------------------------------------------
1 | assertContains(Miscellaneous::boolean(), array(true, false));
13 | }
14 |
15 | public function testMd5()
16 | {
17 | $this->assertRegExp('/^[a-z0-9]{32}$/', Miscellaneous::md5());
18 | }
19 |
20 | public function testSha1()
21 | {
22 | $this->assertRegExp('/^[a-z0-9]{40}$/', Miscellaneous::sha1());
23 | }
24 |
25 | public function testSha256()
26 | {
27 | $this->assertRegExp('/^[a-z0-9]{64}$/', Miscellaneous::sha256());
28 | }
29 |
30 | public function testLocale()
31 | {
32 | $this->assertRegExp('/^[a-z]{2,3}_[A-Z]{2}$/', Miscellaneous::locale());
33 | }
34 |
35 | public function testCountryCode()
36 | {
37 | $this->assertRegExp('/^[A-Z]{2}$/', Miscellaneous::countryCode());
38 | }
39 |
40 | public function testCountryISOAlpha3()
41 | {
42 | $this->assertRegExp('/^[A-Z]{3}$/', Miscellaneous::countryISOAlpha3());
43 | }
44 |
45 | public function testLanguage()
46 | {
47 | $this->assertRegExp('/^[a-z]{2}$/', Miscellaneous::languageCode());
48 | }
49 |
50 | public function testCurrencyCode()
51 | {
52 | $this->assertRegExp('/^[A-Z]{3}$/', Miscellaneous::currencyCode());
53 | }
54 | }
55 |
--------------------------------------------------------------------------------
/content/plugins/fakerpress/inc/vendor/Faker/test/Faker/Provider/TextTest.php:
--------------------------------------------------------------------------------
1 | addProvider(new Text($generator));
13 | $generator->seed(0);
14 |
15 | $lengths = array(10, 20, 50, 70, 90, 120, 150, 200, 500);
16 |
17 | foreach ($lengths as $length) {
18 | $this->assertLessThan($length, $generator->realText($length));
19 | }
20 | }
21 |
22 | /**
23 | * @expectedException \InvalidArgumentException
24 | */
25 | public function testTextMaxIndex()
26 | {
27 | $generator = new Generator();
28 | $generator->addProvider(new Text($generator));
29 | $generator->seed(0);
30 | $generator->realText(200, 11);
31 | }
32 |
33 | /**
34 | * @expectedException \InvalidArgumentException
35 | */
36 | public function testTextMinIndex()
37 | {
38 | $generator = new Generator();
39 | $generator->addProvider(new Text($generator));
40 | $generator->seed(0);
41 | $generator->realText(200, 0);
42 | }
43 |
44 | /**
45 | * @expectedException \InvalidArgumentException
46 | */
47 | public function testTextMinLength()
48 | {
49 | $generator = new Generator();
50 | $generator->addProvider(new Text($generator));
51 | $generator->seed(0);
52 | $generator->realText(9);
53 | }
54 | }
55 |
--------------------------------------------------------------------------------
/content/plugins/fakerpress/inc/vendor/Faker/test/Faker/Provider/UserAgentTest.php:
--------------------------------------------------------------------------------
1 | assertNotNull(UserAgent::userAgent());
12 | }
13 |
14 | public function testFirefoxUserAgent()
15 | {
16 | $this->stringContains(' Firefox/', UserAgent::firefox());
17 | }
18 |
19 | public function testSafariUserAgent()
20 | {
21 | $this->stringContains('Safari/', UserAgent::safari());
22 | }
23 |
24 | public function testInternetExplorerUserAgent()
25 | {
26 | $this->assertStringStartsWith('Mozilla/5.0 (compatible; MSIE ', UserAgent::internetExplorer());
27 | }
28 |
29 | public function testOperaUserAgent()
30 | {
31 | $this->assertStringStartsWith('Opera/', UserAgent::opera());
32 | }
33 |
34 | public function testChromeUserAgent()
35 | {
36 | $this->stringContains('(KHTML, like Gecko) Chrome/', UserAgent::chrome());
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/content/plugins/fakerpress/inc/vendor/Faker/test/Faker/Provider/UuidTest.php:
--------------------------------------------------------------------------------
1 | assertTrue($this->isUuid($uuid));
13 | }
14 |
15 | public function testUuidExpectedSeed()
16 | {
17 | mt_srand(123);
18 | $this->assertEquals("8e2e0c84-50dd-367c-9e66-f3ab455c78d6", BaseProvider::uuid());
19 | $this->assertEquals("073eb60a-902c-30ab-93d0-a94db371f6c8", BaseProvider::uuid());
20 | }
21 |
22 | protected function isUuid($uuid)
23 | {
24 | return is_string($uuid) && (bool) preg_match('/^[a-f0-9]{8,8}-(?:[a-f0-9]{4,4}-){3,3}[a-f0-9]{12,12}$/i', $uuid);
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/content/plugins/fakerpress/inc/vendor/Faker/test/Faker/Provider/at_AT/PaymentTest.php:
--------------------------------------------------------------------------------
1 | addProvider(new Payment($faker));
20 | $this->faker = $faker;
21 | }
22 |
23 | public function testVatIsValid()
24 | {
25 | $vat = $this->faker->vat();
26 | $unspacedVat = $this->faker->vat(false);
27 | $this->assertRegExp('/^(AT U\d{8})$/', $vat);
28 | $this->assertRegExp('/^(ATU\d{8})$/', $unspacedVat);
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/content/plugins/fakerpress/inc/vendor/Faker/test/Faker/Provider/be_BE/PaymentTest.php:
--------------------------------------------------------------------------------
1 | addProvider(new Payment($faker));
20 | $this->faker = $faker;
21 | }
22 |
23 | public function testVatIsValid()
24 | {
25 | $vat = $this->faker->vat();
26 | $unspacedVat = $this->faker->vat(false);
27 | $this->assertRegExp('/^(BE 0\d{9})$/', $vat);
28 | $this->assertRegExp('/^(BE0\d{9})$/', $unspacedVat);
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/content/plugins/fakerpress/inc/vendor/Faker/test/Faker/Provider/bg_BG/PaymentTest.php:
--------------------------------------------------------------------------------
1 | addProvider(new Payment($faker));
20 | $this->faker = $faker;
21 | }
22 |
23 | public function testVatIsValid()
24 | {
25 | $vat = $this->faker->vat();
26 | $unspacedVat = $this->faker->vat(false);
27 | $this->assertRegExp('/^(BG \d{9,10})$/', $vat);
28 | $this->assertRegExp('/^(BG\d{9,10})$/', $unspacedVat);
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/content/plugins/fakerpress/inc/vendor/Faker/test/Faker/Provider/de_AT/InternetTest.php:
--------------------------------------------------------------------------------
1 | addProvider(new Person($faker));
22 | $faker->addProvider(new Internet($faker));
23 | $faker->addProvider(new Company($faker));
24 | $this->faker = $faker;
25 | }
26 |
27 | public function testEmailIsValid()
28 | {
29 | $email = $this->faker->email();
30 | $this->assertNotFalse(filter_var($email, FILTER_VALIDATE_EMAIL));
31 | }
32 | }
33 |
--------------------------------------------------------------------------------
/content/plugins/fakerpress/inc/vendor/Faker/test/Faker/Provider/de_AT/PhoneNumberTest.php:
--------------------------------------------------------------------------------
1 | addProvider(new PhoneNumber($faker));
20 | $this->faker = $faker;
21 | }
22 |
23 | public function testPhoneNumberFormat()
24 | {
25 | $number = $this->faker->phoneNumber;
26 | $this->assertRegExp('/^06\d{2} \d{7}|\+43 \d{4} \d{4}(-\d{2})?$/', $number);
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/content/plugins/fakerpress/inc/vendor/Faker/test/Faker/Provider/id_ID/PersonTest.php:
--------------------------------------------------------------------------------
1 | addProvider(new Person($faker));
14 | $this->faker = $faker;
15 | }
16 |
17 | public function testIfFirstNameMaleCanReturnData()
18 | {
19 | $firstNameMale = $this->faker->firstNameMale();
20 | $this->assertNotEmpty($firstNameMale);
21 | }
22 |
23 | public function testIfLastNameMaleCanReturnData()
24 | {
25 | $lastNameMale = $this->faker->lastNameMale();
26 | $this->assertNotEmpty($lastNameMale);
27 | }
28 |
29 | public function testIfFirstNameFemaleCanReturnData()
30 | {
31 | $firstNameFemale = $this->faker->firstNameFemale();
32 | $this->assertNotEmpty($firstNameFemale);
33 | }
34 |
35 | public function testIfLastNameFemaleCanReturnData()
36 | {
37 | $lastNameFemale = $this->faker->lastNameFemale();
38 | $this->assertNotEmpty($lastNameFemale);
39 | }
40 | }
41 |
--------------------------------------------------------------------------------
/content/plugins/fakerpress/inc/vendor/Faker/test/Faker/Provider/ja_JP/PersonTest.php:
--------------------------------------------------------------------------------
1 | addProvider(new Person($faker));
14 | $faker->seed(1);
15 |
16 | $this->assertEquals('アオタ ミノル', $faker->kanaName);
17 | }
18 |
19 | public function testFirstKanaNameReturnsHaruka()
20 | {
21 | $faker = new Generator();
22 | $faker->addProvider(new Person($faker));
23 | $faker->seed(1);
24 |
25 | $this->assertEquals('ハルカ', $faker->firstKanaName);
26 | }
27 |
28 | public function testLastKanaNameReturnsNakajima()
29 | {
30 | $faker = new Generator();
31 | $faker->addProvider(new Person($faker));
32 | $faker->seed(1);
33 |
34 | $this->assertEquals('ナカジマ', $faker->lastKanaName);
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/content/plugins/fakerpress/inc/vendor/Faker/test/Faker/Provider/pt_PT/AddressTest.php:
--------------------------------------------------------------------------------
1 | addProvider(new Address($faker));
20 | $this->faker = $faker;
21 | }
22 |
23 | public function testPostCodeIsValid()
24 | {
25 | $main = '[1-9]{1}[0-9]{2}[0,1,4,5,9]{1}';
26 | $pattern = "/^($main)|($main-[0-9]{3})+$/";
27 | $postcode = $this->faker->postcode();
28 | $this->assertSame(preg_match($pattern, $postcode), 1, $postcode);
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/content/plugins/fakerpress/inc/vendor/Faker/test/Faker/Provider/pt_PT/PersonTest.php:
--------------------------------------------------------------------------------
1 | addProvider(new Person($faker));
15 | $this->faker = $faker;
16 | }
17 |
18 | public function testTaxpayerIdentificationNumberIsValid()
19 | {
20 | $tin = $this->faker->taxpayerIdentificationNumber();
21 | $this->assertTrue($this->isValidTin($tin), $tin);
22 | }
23 |
24 | /**
25 | *
26 | * @link http://pt.wikipedia.org/wiki/N%C3%BAmero_de_identifica%C3%A7%C3%A3o_fiscal
27 | *
28 | * @param type $tin
29 | *
30 | * @return boolean
31 | */
32 | public static function isValidTin($tin)
33 | {
34 | $regex = '(([1,2,3,5,6,8]{1}[0-9]{8})|((45)|(70)|(71)|(72)|(77)|(79)|(90|(98|(99))))[0-9]{7})';
35 | if (is_null($tin) || !is_numeric($tin) || !strlen($tin) == 9 || preg_match("/$regex/", $tin) !== 1) {
36 | return false;
37 | }
38 | $n = str_split($tin);
39 | // cd - Control Digit
40 | $cd = ($n[0] * 9 + $n[1] * 8 + $n[2] * 7 + $n[3] * 6 + $n[4] * 5 + $n[5] * 4 + $n[6] * 3 + $n[7] * 2) % 11;
41 | if ($cd === 0 || $cd === 1) {
42 | $cd = 0;
43 | } else {
44 | $cd = 11 - $cd;
45 | }
46 | if ($cd === intval($n[8])) {
47 | return true;
48 | }
49 |
50 | return false;
51 | }
52 | }
53 |
--------------------------------------------------------------------------------
/content/plugins/fakerpress/inc/vendor/Faker/test/Faker/Provider/pt_PT/PhoneNumberTest.php:
--------------------------------------------------------------------------------
1 | addProvider(new PhoneNumber($faker));
14 | $this->faker = $faker;
15 | }
16 |
17 | public function testPhoneNumberReturnsPhoneNumberWithOrWithoutPrefix()
18 | {
19 | $this->assertRegExp('/^(9[1,2,3,6][0-9]{7})|(2[0-9]{8})|(\+351 [2][0-9]{8})|(\+351 9[1,2,3,6][0-9]{7})/', $this->faker->phoneNumber());
20 | }
21 | public function testMobileNumberReturnsMobileNumberWithOrWithoutPrefix()
22 | {
23 | $this->assertRegExp('/^(9[1,2,3,6][0-9]{7})/', $this->faker->mobileNumber());
24 | }
25 | }
26 |
--------------------------------------------------------------------------------
/content/plugins/fakerpress/inc/vendor/Faker/test/Faker/Provider/ro_RO/PhoneNumberTest.php:
--------------------------------------------------------------------------------
1 | addProvider(new PhoneNumber($faker));
14 | $this->faker = $faker;
15 | }
16 |
17 | public function testPhoneNumberReturnsNormalPhoneNumber()
18 | {
19 | $this->assertRegExp('/^0(?:[23][13-7]|7\d)\d{7}$/', $this->faker->phoneNumber());
20 | }
21 |
22 | public function testTollFreePhoneNumberReturnsTollFreePhoneNumber()
23 | {
24 | $this->assertRegExp('/^08(?:0[1267]|70)\d{6}$/', $this->faker->tollFreePhoneNumber());
25 | }
26 |
27 | public function testPremiumRatePhoneNumberReturnsPremiumRatePhoneNumber()
28 | {
29 | $this->assertRegExp('/^090[036]\d{6}$/', $this->faker->premiumRatePhoneNumber());
30 | }
31 | }
32 |
--------------------------------------------------------------------------------
/content/plugins/fakerpress/inc/vendor/Faker/test/Faker/Provider/uk_UA/PhoneNumberTest.php:
--------------------------------------------------------------------------------
1 | addProvider(new PhoneNumber($faker));
20 | $this->faker = $faker;
21 | }
22 |
23 | public function testPhoneNumberFormat()
24 | {
25 | $pattern = "/((\+38)(((\(\d{3}\))\d{7}|(\(\d{4}\))\d{6})|(\d{8})))|0\d{9}/";
26 | $phoneNumber = $this->faker->phoneNumber;
27 | $this->assertSame(
28 | preg_match($pattern, $phoneNumber),
29 | 1,
30 | 'Phone number format ' . $phoneNumber . ' is wrong!'
31 | );
32 |
33 | }
34 |
35 | }
36 |
--------------------------------------------------------------------------------
/content/plugins/fakerpress/inc/vendor/Faker/test/documentor.php:
--------------------------------------------------------------------------------
1 | seed(1);
6 | $documentor = new Faker\Documentor($generator);
7 | ?>
8 | getFormatters() as $provider => $formatters): ?>
9 |
10 | ### ``
11 |
12 | $example): ?>
13 | //
14 |
15 |
16 | seed(5);
6 |
7 | echo '';
8 | ?>
9 |
10 |
11 |
12 |
13 | boolean(25)): ?>
14 |
15 |
16 |
17 | streetAddress ?>
18 | city ?>
19 | postcode ?>
20 | state ?>
21 |
22 |
23 | boolean(33)): ?>
24 | bs ?>
25 |
26 | boolean(33)): ?>
27 |
28 |
29 |
30 | boolean(15)): ?>
31 |
32 | text(400) ?>
34 | ]]>
35 |
36 |
37 |
38 |
39 |
40 |
--------------------------------------------------------------------------------
/content/plugins/fakerpress/inc/vendor/readme.md:
--------------------------------------------------------------------------------
1 | ## Quick How To
2 | Below you will find a quick how to Update one of the `vendor` libraries
3 |
4 | They were **added** using:
5 |
6 | ```bash
7 | git subtree add --prefix inc/vendor/repoName git@github.com:user/repoName.git master --squash
8 | ```
9 |
10 | When adding if you encounter the error below, you will have to commit before adding the subtree.
11 |
12 | ```bash
13 | Working tree has modifications. Cannot add.
14 | ```
15 |
16 | To **update** the vendor library with the latest changes:
17 |
18 | ```bash
19 | git subtree pull --prefix inc/vendor/repoName git@github.com:user/repoName.git master --squash
20 | ```
21 |
22 | And if you have changes you want to **upstream**, do:
23 |
24 | ```bash
25 | git subtree push --prefix inc/vendor/repoName git@github.com:user/repoName.git master --squash
26 | ```
27 |
28 | - - -
29 |
30 | ## List of dependencies
31 | * [Faker](https://github.com/fzaninotto/Faker)
32 | * [Carbon](https://github.com/briannesbitt/Carbon)
33 |
--------------------------------------------------------------------------------
/content/plugins/fakerpress/index.php:
--------------------------------------------------------------------------------
1 | slug}.save", array( $this, 'do_save' ), 10, 4 );
22 | }
23 |
24 | public function do_save( $return_val, $params, $metas, $module ){
25 | if ( empty( $params['attachment_url'] ) ){
26 | return false;
27 | }
28 |
29 | $bits = file_get_contents( $params['attachment_url'] );
30 | $filename = $this->faker->uuid() . '.jpg';
31 | $upload = wp_upload_bits( $filename, null, $bits );
32 |
33 | $params['guid'] = $upload['url'];
34 | $params['post_mime_type'] = 'image/jpeg';
35 |
36 | // Insert the attachment.
37 | $attach_id = wp_insert_attachment( $params, $upload['file'], 0 );
38 |
39 | if ( ! is_numeric( $attach_id ) ){
40 | return false;
41 | }
42 |
43 | if ( ! function_exists( 'wp_generate_attachment_metadata' ) ){
44 | // Make sure that this file is included, as wp_generate_attachment_metadata() depends on it.
45 | require_once( ABSPATH . 'wp-admin/includes/image.php' );
46 | }
47 |
48 | // Generate the metadata for the attachment, and update the database record.
49 | $metas['_wp_attachment_metadata'] = wp_generate_attachment_metadata( $attach_id, $upload['file'] );
50 |
51 | foreach ( $metas as $key => $value ) {
52 | update_post_meta( $attach_id, $key, $value );
53 | }
54 |
55 | return $attach_id;
56 | }
57 | }
58 |
--------------------------------------------------------------------------------
/content/plugins/fakerpress/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "fakerpress",
3 | "title": "FakerPress",
4 | "version": "0.3.2",
5 | "homepage": "http://fakerpress.com/",
6 | "repository": {
7 | "type": "git",
8 | "url": "https://github.com/bordoni/fakerpress.git"
9 | },
10 | "main": "Gruntfile.js",
11 | "devDependencies": {
12 | "grunt": "^0.4.5",
13 | "grunt-checktextdomain": "^0.1.1",
14 | "grunt-contrib-clean": "^0.6.0",
15 | "grunt-contrib-cssmin": "^0.12.2",
16 | "grunt-contrib-jshint": "^0.11.0",
17 | "grunt-contrib-sass": "^0.9.2",
18 | "grunt-contrib-uglify": "^0.8.0",
19 | "grunt-contrib-watch": "^0.6.1",
20 | "grunt-shell": "^1.1.2",
21 | "grunt-wp-i18n": "^0.5.0",
22 | "node-bourbon": "^4.2.1-beta1"
23 | },
24 | "engines": {
25 | "node": ">=0.8.0",
26 | "npm": ">=1.1.0"
27 | }
28 | }
--------------------------------------------------------------------------------
/content/plugins/fakerpress/providers/image/lorempixel.php:
--------------------------------------------------------------------------------
1 | generator = $generator;
10 | }
11 |
12 | public function lorempixel( $width = array( 200, 640 ), $ratio = 1.25 ) {
13 | if ( is_array( $width ) ){
14 | $width = call_user_func_array( array( $this->generator, 'numberBetween' ), $width );
15 | }
16 |
17 | $width = absint( $width );
18 | $height = floor( $width / floatval( $ratio ) );
19 | $categories = array(
20 | 'abstract',
21 | 'animals',
22 | 'business',
23 | 'cats',
24 | 'city',
25 | 'food',
26 | 'nightlife',
27 | 'fashion',
28 | 'people',
29 | 'nature',
30 | 'sports',
31 | 'technics',
32 | 'transport',
33 | );
34 |
35 | $url = "http://lorempixel.com/{$width}/{$height}/" . $this->generator->randomElement( $categories );
36 | return $url;
37 | }
38 |
39 | }
--------------------------------------------------------------------------------
/content/plugins/fakerpress/providers/image/placeholdit.php:
--------------------------------------------------------------------------------
1 | generator = $generator;
10 | }
11 |
12 | public function placeholdit( $width = array( 200, 640 ), $ratio = 1.25 ) {
13 | if ( is_array( $width ) ){
14 | $width = call_user_func_array( array( $this->generator, 'numberBetween' ), $width );
15 | }
16 |
17 | $width = absint( $width );
18 | $height = floor( $width / floatval( $ratio ) );
19 | $url = "http://placehold.it/{$width}x{$height}/";
20 |
21 | return $url;
22 | }
23 |
24 | }
--------------------------------------------------------------------------------
/content/plugins/fakerpress/svn-url:
--------------------------------------------------------------------------------
1 | http://plugins.svn.wordpress.org/fakerpress/
2 |
--------------------------------------------------------------------------------
/content/plugins/fakerpress/ui/css/font.css:
--------------------------------------------------------------------------------
1 | @font-face{font-family:FakerPress;src:url(../font/fakerpress.eot);src:url(../font/fakerpress.eot?#iefix)format("embedded-opentype"),url(../font/fakerpress.ttf)format("truetype"),url(../font/fakerpress.woff)format("woff"),url(../font/fakerpress.svg#fakerpress)format("svg");font-weight:400;font-style:normal}.icon-fakerpress:before,.toplevel_page_fakerpress.menu-top .wp-menu-image:before{font-family:FakerPress;content:"\e600"}
--------------------------------------------------------------------------------
/content/plugins/fakerpress/ui/css/font.scss:
--------------------------------------------------------------------------------
1 | @font-face {
2 | font-family: 'FakerPress';
3 | src:url('../font/fakerpress.eot');
4 | src:url('../font/fakerpress.eot?#iefix') format('embedded-opentype'),
5 | url('../font/fakerpress.ttf') format('truetype'),
6 | url('../font/fakerpress.woff') format('woff'),
7 | url('../font/fakerpress.svg#fakerpress') format('svg');
8 | font-weight: normal;
9 | font-style: normal;
10 | }
11 |
12 | .icon-fakerpress:before,
13 | .toplevel_page_fakerpress.menu-top .wp-menu-image:before {
14 | font-family: 'FakerPress';
15 | content: "\e600";
16 | }
17 |
--------------------------------------------------------------------------------
/content/plugins/fakerpress/ui/css/messages.css:
--------------------------------------------------------------------------------
1 | .fakerpress-message{border-left:4px solid #444;padding:1px 12px;background-color:#fff;-webkit-box-shadow:0 1px 1px 0 rgba(0,0,0,.1);box-shadow:0 1px 1px 0 rgba(0,0,0,.1);margin-bottom:5px}.fakerpress-message.first{margin-top:20px}.fakerpress-message.fakerpress-message-success{border-left-color:#7ad03a}.fakerpress-message.fakerpress-message-error{border-left-color:#dd3d36}.fakerpress-message.fakerpress-message-warning{border-left-color:#ffba00}.dashicon-date{height:25px;line-height:26px;border:1px solid #DDD;margin-top:1px}
--------------------------------------------------------------------------------
/content/plugins/fakerpress/ui/css/messages.scss:
--------------------------------------------------------------------------------
1 | .fakerpress-message {
2 | border-left: 4px solid #444;
3 | padding: 1px 12px;
4 | background-color: #fff;
5 | -webkit-box-shadow: 0 1px 1px 0 rgba(0,0,0,0.1);
6 | box-shadow: 0 1px 1px 0 rgba(0,0,0,0.1);
7 | margin-bottom: 5px;
8 | }
9 | .fakerpress-message.first {
10 | margin-top: 20px;
11 | }
12 |
13 | .fakerpress-message.fakerpress-message-success {
14 | border-left-color: #7ad03a;
15 | }
16 |
17 | .fakerpress-message.fakerpress-message-error {
18 | border-left-color: #dd3d36;
19 | }
20 |
21 | .fakerpress-message.fakerpress-message-warning {
22 | border-left-color: #ffba00;
23 | }
24 |
25 | .dashicon-date {
26 | height: 25px;
27 | line-height: 26px;
28 | border: 1px solid #DDD;
29 | margin-top: 1px;
30 | }
31 |
32 |
--------------------------------------------------------------------------------
/content/plugins/fakerpress/ui/font/fakerpress.eot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/humanmade/wp-api-demo/473683ebee52cdec41bb07b7c7c396e7bc3c949c/content/plugins/fakerpress/ui/font/fakerpress.eot
--------------------------------------------------------------------------------
/content/plugins/fakerpress/ui/font/fakerpress.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/humanmade/wp-api-demo/473683ebee52cdec41bb07b7c7c396e7bc3c949c/content/plugins/fakerpress/ui/font/fakerpress.ttf
--------------------------------------------------------------------------------
/content/plugins/fakerpress/ui/font/fakerpress.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/humanmade/wp-api-demo/473683ebee52cdec41bb07b7c7c396e7bc3c949c/content/plugins/fakerpress/ui/font/fakerpress.woff
--------------------------------------------------------------------------------
/content/plugins/fakerpress/ui/vendor/select2/select2-spinner.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/humanmade/wp-api-demo/473683ebee52cdec41bb07b7c7c396e7bc3c949c/content/plugins/fakerpress/ui/vendor/select2/select2-spinner.gif
--------------------------------------------------------------------------------
/content/plugins/fakerpress/ui/vendor/select2/select2-wordpress.css:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/humanmade/wp-api-demo/473683ebee52cdec41bb07b7c7c396e7bc3c949c/content/plugins/fakerpress/ui/vendor/select2/select2-wordpress.css
--------------------------------------------------------------------------------
/content/plugins/fakerpress/ui/vendor/select2/select2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/humanmade/wp-api-demo/473683ebee52cdec41bb07b7c7c396e7bc3c949c/content/plugins/fakerpress/ui/vendor/select2/select2.png
--------------------------------------------------------------------------------
/content/plugins/fakerpress/ui/vendor/select2/select2x2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/humanmade/wp-api-demo/473683ebee52cdec41bb07b7c7c396e7bc3c949c/content/plugins/fakerpress/ui/vendor/select2/select2x2.png
--------------------------------------------------------------------------------
/content/plugins/fakerpress/view/changelog.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/content/plugins/fakerpress/view/error.php:
--------------------------------------------------------------------------------
1 | 'FakerPress',
5 | 'related' => 'webord',
6 | );
7 | $locale = get_locale();
8 | if ( ! empty( $locale ) ){
9 | $tweet_args['hashtags'] .= ',' . esc_attr( $locale );
10 | }
11 | $tweet_url = esc_url_raw( add_query_arg( $tweet_args, 'https://twitter.com/intent/tweet' ) );
12 | ?>
13 |
14 |
15 |
16 | poke us on twitter!", 'fakerpress' ), $tweet_url ) ) ); ?>
17 |
18 |
19 |
--------------------------------------------------------------------------------
/content/plugins/fakerpress/view/settings.php:
--------------------------------------------------------------------------------
1 | 'erase_phrase',
7 | 'placeholder' => 'The cold never bothered me anyway!',
8 | ),
9 | array(
10 | 'label' => __( 'Erase faked data', 'fakerpress' ),
11 | 'description' => __( 'To erase all data generated type "Let it Go!".', 'fakerpress' ),
12 | 'actions' => array(
13 | 'delete' => __( 'Delete!', 'fakerpress' ),
14 | ),
15 | )
16 | );
17 |
18 | $fields[] = new Field(
19 | 'heading',
20 | array(
21 | 'id' => 'heading-500px',
22 | 'title' => __( 'API: 500px', 'fakerpress' ),
23 | )
24 | );
25 |
26 | $fields[] = new Field(
27 | 'text',
28 | array(
29 | 'id' => '500px-key',
30 | 'placeholder' => __( 'E.g.: fU3TlASxi2uL76TcP5PAd946fYGZTVsfle6v13No', 'fakerpress' ),
31 | 'value' => Plugin::get( array( '500px', 'key' ) ),
32 | ),
33 | array(
34 | 'label' => __( 'Consumer Key', 'fakerpress' ),
35 | 'description' => __( 'Application Consumer Key — 500px Applications', 'fakerpress' ),
36 | 'actions' => array(
37 | 'save_500px' => __( 'Save', 'fakerpress' ),
38 | ),
39 | )
40 | );
41 |
42 | ?>
43 |
44 |
title ); ?>
45 |
46 |
54 |
--------------------------------------------------------------------------------
/content/plugins/fakerpress/view/terms.php:
--------------------------------------------------------------------------------
1 | __( 'Quantity', 'fakerpress' ),
9 | 'description' => __( 'How many terms should be generated, use both fields to get a randomized number of terms within the given range.', 'fakerpress' ),
10 | )
11 | );
12 |
13 | $taxonomies = get_taxonomies( array( 'public' => true ), 'object' );
14 |
15 | $_json_taxonomies_output = array();
16 | foreach ( $taxonomies as $key => $taxonomy ) {
17 | $_json_taxonomies_output[] = array(
18 | 'id' => $taxonomy->name,
19 | 'text' => $taxonomy->labels->name,
20 | );
21 | }
22 |
23 | $fields[] = new Field(
24 | 'dropdown',
25 | array(
26 | 'id' => 'taxonomies',
27 | 'multiple' => true,
28 | 'data-options' => $_json_taxonomies_output,
29 | ),
30 | array(
31 | 'label' => __( 'Taxonomies', 'fakerpress' ),
32 | 'description' => __( 'Group of taxonomies that the terms will be created within', 'fakerpress' ),
33 | )
34 | );
35 |
36 | ?>
37 |
38 |
title ); ?>
39 |
40 |
49 |
--------------------------------------------------------------------------------
/content/plugins/index.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/content/themes/index.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/content/themes/twentyseventeen/404.php:
--------------------------------------------------------------------------------
1 |
14 |
15 |
33 |
34 |
16 |
17 |
18 |
19 |
42 |
43 |
44 |
45 |
46 |