Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
250 commits
Select commit Hold shift + click to select a range
8b986a8
Merge branch 'release/v3.0.0' into develop
Omranic Dec 12, 2016
391035a
Disable few code climate checks
Omranic Dec 17, 2016
98d46a4
Disable few scrutinizer checks
Omranic Dec 17, 2016
d4193fa
ukrainian phone prefixes and native name fix
optiman Dec 18, 2016
89df8bb
Update styleci fixers
Omranic Dec 31, 2016
5aa73b4
Update readme and composer dependencies
Omranic Jan 27, 2017
8f79eb3
Lowercase the country code for case-sensitive filesystems
Jan 30, 2017
9bb6907
Merge pull request #46 from joshbrw/master
Omranic Feb 4, 2017
d8bc267
Revert "Lowercase the country code for case-sensitive filesystems"
Omranic Feb 4, 2017
cc7665a
Merge pull request #47 from rinvex/revert-46-master
Omranic Feb 4, 2017
fc51e9b
Format country code to small case before retrieval
Omranic Feb 4, 2017
788570c
Change internal methods visibility to protected
Omranic Feb 4, 2017
c4ef0bf
Update StyleCI fixers and other supplementary files
Omranic Mar 6, 2017
8f743bb
Apply fixes from StyleCI
Omranic Mar 6, 2017
9aa9c54
Merge pull request #48 from rinvex/analysis-XNmGy1
Omranic Mar 6, 2017
093ff1d
Fix previous wrong StyleCI fixer
Omranic Mar 6, 2017
6f2d7d9
Enforce strict type declaration
Omranic Mar 6, 2017
e704a3f
Enforce consistency and rename Country Loader class
Omranic Mar 6, 2017
a4fb11e
Skip CountryLoader.php from StyleCI fixers
Omranic Mar 6, 2017
9080159
Rename country loader test class
Omranic Mar 7, 2017
7c5f9e9
Execute reflections once per test class
Omranic Mar 7, 2017
feed4c0
Enforce consistency
Omranic Mar 7, 2017
f592008
Fix strict type declaration issues and tweak code
Omranic Mar 7, 2017
837f7c8
Apply fixes from StyleCI
Omranic Mar 7, 2017
b599380
Merge pull request #50 from rinvex/analysis-XpNaVa
Omranic Mar 7, 2017
4ce52aa
Merge pull request #45 from optiman/master
Omranic Mar 7, 2017
e7caa04
Bump version
Omranic Mar 7, 2017
4c7b06a
Merge branch 'release/v3.1.0' into develop
Omranic Mar 7, 2017
e32228e
Merge branch 'release/v3.1.0'
Omranic Mar 7, 2017
6d2109b
Simplify code by using PHP7 null coalescing operator
Omranic Mar 8, 2017
8bdda81
Fix stupid gitattributes export-ignore issues
Omranic Mar 14, 2017
247dccb
Update security contact email
Omranic Mar 22, 2017
2e260d8
Rename country variable to countryCode for naming consistency
Omranic Apr 7, 2017
ae87d12
Remove file header docblock
Omranic Apr 16, 2017
f4f65b1
Push forward PHPUnit version
Omranic Jun 12, 2017
d6619c4
Update composer config
Omranic Jun 29, 2017
919204a
Fix deprecated PHPUnit TestCase namespace
Omranic Jul 18, 2017
8161d4a
Fix docblock return types
Omranic Aug 28, 2017
2ea62e6
Fix docblock
Omranic Aug 30, 2017
adaedbc
Disable travis email notifications
Omranic Aug 31, 2017
cd024ed
Mexico City is no longer called Distrito Federal
alfonsobries Sep 11, 2017
19591c8
Fix git export-ignore dotfiles
Omranic Sep 12, 2017
8849109
Remove VersionEye since it's shutting down
Omranic Oct 29, 2017
0fe723a
Support the new StyleCI CSS/JS beta features
Omranic Nov 8, 2017
7914513
Update StyleCI config
Omranic Nov 9, 2017
9797617
Update copyright year
Omranic Nov 9, 2017
407e88e
Enforce consistency
Omranic Dec 14, 2017
145b3ca
Remove SensioLabs badge since they dropped open-source support
Omranic Dec 21, 2017
4eed639
Add PHPUnitPrettyResultPrinter
Omranic Dec 24, 2017
98d4ebf
Fix CS
Omranic Dec 25, 2017
cbbc21b
Require PHP 7.1.0 at least
Omranic Jan 2, 2018
5955ab4
Tweak composer file
Omranic Jan 2, 2018
40d7cfe
Typehint method returns
Omranic Jan 20, 2018
eb00e01
Fix wrong method return types
Omranic Jan 20, 2018
30d1e02
Update minimum required PHP version
Omranic Jan 28, 2018
6d12b01
Update composer packages
Omranic Feb 17, 2018
7c9f7d8
Update composer packages
Omranic Feb 17, 2018
2ed6dc4
Update travis php versions
Omranic Feb 18, 2018
6fba8a6
Add Laravel Auto Discovery support and validation rule
Omranic Feb 27, 2018
c50b927
Add missing Kosovo emoji
Omranic Mar 31, 2018
52d2885
Drop StyleCI multi-language support (paid feature now!)
Omranic May 21, 2018
c66861d
Update composer dependencies
Omranic May 21, 2018
aa8fcfb
Apply fixes from StyleCI
Omranic May 21, 2018
822325c
Merge pull request #80 from rinvex/analysis-XNaK94
Omranic May 21, 2018
97c7475
Revert "Apply fixes from StyleCI"
Omranic May 21, 2018
c58ed6a
Merge pull request #81 from rinvex/revert-80-analysis-XNaK94
Omranic May 21, 2018
9ac724b
Prepare and tweak testing configuration
Omranic Jun 22, 2018
d7f594b
Update StyleCI options
Omranic Jul 18, 2018
3627d6a
Update StyleCI options
Omranic Jul 18, 2018
d719c1f
Update PHPUnit options
Omranic Jul 20, 2018
2255f43
Bump version
Omranic Sep 21, 2018
e404f26
Merge branch 'release/v4.0.0'
Omranic Sep 21, 2018
0855c5c
Merge tag 'v4.0.0' into develop
Omranic Sep 21, 2018
2924dbb
Update composer dependencies
Omranic Sep 21, 2018
7064fb2
Rename package to rinvex/countries and bump versions
Omranic Oct 5, 2018
6e5ee32
Merge tag 'v5.0.0' into develop
Omranic Oct 5, 2018
ba4d10f
Merge branch 'release/v5.0.0'
Omranic Oct 5, 2018
adf795d
Fix minor grammar typos
Omranic Oct 6, 2018
881dec4
New currency code: VEF became VES
madacol Oct 17, 2018
8dd51b9
Update copyright year
Omranic Oct 24, 2018
e1d19aa
Update .travis.yml
andreybolonin Oct 28, 2018
0631280
Merge pull request #63 from alfonsobries/master
Omranic Dec 20, 2018
404040f
Merge pull request #105 from andreybolonin/patch-2
Omranic Dec 20, 2018
1cca5cc
Update ve.json
Omranic Dec 20, 2018
4fe8e7f
Merge pull request #103 from madacol/patch-1
Omranic Dec 20, 2018
7e46fc0
Revert "New currency code: VEF became VES"
Omranic Dec 20, 2018
8b435d3
Merge pull request #106 from rinvex/revert-103-patch-1
Omranic Dec 20, 2018
2191d6c
Merge pull request #107 from madacol/patch-1
Omranic Dec 20, 2018
58bd89f
Update composer dependencies
Omranic Dec 22, 2018
b12fc9c
Merge branch 'develop' of github.com:rinvex/countries into develop
Omranic Dec 22, 2018
0918d3b
Bump version
Omranic Dec 22, 2018
8500df4
Merge tag 'v5.0.1' into develop
Omranic Dec 22, 2018
4379c6a
Merge branch 'release/v5.0.1'
Omranic Dec 22, 2018
4cdae74
Fix dialing code for Caribbean Netherlands, Curaçao","official, Saint…
Omranic Dec 23, 2018
6ca7379
Fix few dialing codes and currency for ve, cw, bq, sh
Omranic Dec 23, 2018
f1a0d88
Bump version
Omranic Dec 23, 2018
7a74f7b
Merge tag 'v5.0.2' into develop
Omranic Dec 23, 2018
0435a81
Merge branch 'release/v5.0.2'
Omranic Dec 23, 2018
500491d
Rename environment variable QUEUE_DRIVER to QUEUE_CONNECTION
Omranic Dec 23, 2018
09ea21d
Fix CS
Omranic Jan 3, 2019
8f0f936
Update Slack link
Omranic Mar 1, 2019
392d8c9
Add support for Larastan
Omranic Mar 2, 2019
912304e
Require PHP 7.2 & Laravel 5.8
Omranic Mar 3, 2019
2be0574
Apply PHPUnit 8 updates
Omranic Mar 3, 2019
cd9e687
Bump version
Omranic Mar 3, 2019
fb39cf4
Merge tag 'v6.0.0' into develop
Omranic Mar 3, 2019
e3bef1d
Merge branch 'release/v6.0.0'
Omranic Mar 3, 2019
2dd6a22
Update composer deps
Omranic May 28, 2019
5931d40
Drop PHP 7.1 travis test
Omranic May 28, 2019
7c5b2b6
Bump version
Omranic Jun 2, 2019
40f643a
Merge tag 'v6.1.0' into develop
Omranic Jun 2, 2019
ab83f7b
Merge branch 'release/v6.1.0'
Omranic Jun 2, 2019
d8471b3
Update changelog
Omranic Jun 2, 2019
806b630
Use $_SERVER instead of $_ENV for PHPUnit
Omranic Sep 2, 2019
696beb7
Update PHPUnit version to ^8.3.0
Omranic Sep 22, 2019
a363519
Add missing laravel/helpers composer package
Omranic Sep 23, 2019
a577784
Bump version
Omranic Sep 23, 2019
0f874ae
Merge tag 'v6.1.1' into develop
Omranic Sep 23, 2019
3391e45
Merge branch 'release/v6.1.1'
Omranic Sep 23, 2019
a41b6cf
Tweak TravisCI config
Omranic Jan 7, 2020
a89f5d9
Add currencies listing (#130)
ScSherifTarek Jan 18, 2020
a0afd22
solve testing wrong files paths (#131)
ScSherifTarek Jan 18, 2020
d7237e9
- Arrange currencies to return default currency for each country
Omranic Jan 18, 2020
553ad84
Tweak currency loader to support both longlist & shortlist

Omranic Jan 18, 2020
efa9c8f
Update StyleCI config
Omranic Mar 13, 2020
f075652
Enforce consistency
Omranic Mar 13, 2020
0dd9da8
Merge branch 'v6.1.2'
Omranic Mar 13, 2020
20c9eae
Merge tag 'v6.1.2' into develop
Omranic Mar 13, 2020
9e0cbfb
Upgrade to Laravel v7.1.x & PHP v7.4.x
Omranic Mar 15, 2020
588af9a
Bump version
Omranic Mar 15, 2020
7c1c4d3
Merge tag 'v7.0.0' into develop
Omranic Mar 15, 2020
a5239f0
Merge branch 'release/v7.0.0'
Omranic Mar 15, 2020
9435b67
Drop laravel/helpers usage as it's no longer used
Omranic Apr 1, 2020
67c73d6
Bump version
Omranic Apr 4, 2020
846562f
Merge branch 'release/v7.0.1'
Omranic Apr 4, 2020
2ba0a97
Merge tag 'v7.0.1' into develop
Omranic Apr 4, 2020
141defa
Remove default indent size config
Omranic May 10, 2020
a979294
Replace hardcoded phase with language phrase
Omranic May 10, 2020
20d83d9
Drop PHP 7.2 & 7.3 support from travis
Omranic Jun 3, 2020
2c86453
Fix wrong currencies method naming
Omranic Jul 1, 2020
dedead9
Add currency Laravel validation rule
Omranic Jul 1, 2020
7fd7476
Bump version
Omranic Jul 16, 2020
f8a5e18
Merge tag 'v7.1.0' into develop
Omranic Jul 16, 2020
c18cbdc
Merge branch 'release/v7.1.0'
Omranic Jul 16, 2020
925cb00
Fix currencies validation rule
Omranic Jul 17, 2020
0f9dde3
Filter, sort, and check currencies uniqueness and fix returned array …
Omranic Jul 17, 2020
57bfe48
Bump version
Omranic Jul 17, 2020
cf508c8
Merge tag 'v7.2.0' into develop
Omranic Jul 17, 2020
c0b45f0
Merge branch 'release/v7.2.0'
Omranic Jul 17, 2020
f5e7dc9
Update dutch reduced VAT rate (#139)
peterquentin Jul 17, 2020
c502c0a
Add methods getTimezones and getLocales (#66) (Fixes #11)
ker0x Jul 17, 2020
2a020aa
Add test cases for timezones and locales (Thanks @ker0x #66 #11)
Omranic Jul 17, 2020
e5ce66a
Fix updated ioc codes for Singapore & Lebanon (fix #146)
Omranic Jul 17, 2020
d7d3b16
Bump version
Omranic Jul 17, 2020
c6f08bd
Merge branch 'release/v7.3.0'
Omranic Jul 17, 2020
bd5a980
Merge tag 'v7.3.0' into develop
Omranic Jul 17, 2020
2e54971
UK is no longer a EU member state (#164)
Piskvor Aug 24, 2020
f1b2123
Typo (#171)
simoheinonen Dec 11, 2020
c7cd5ec
Update composer dependencies
Omranic Dec 21, 2020
14f83e9
Bump version
Omranic Dec 22, 2020
485a66b
Merge branch 'release/v7.3.1'
Omranic Dec 22, 2020
82e9aad
Merge tag 'v7.3.1' into develop
Omranic Dec 22, 2020
561d5d6
Add support for PHP v8
Omranic Dec 25, 2020
074259b
Bump version
Omranic Dec 25, 2020
4696d23
Merge branch 'release/v7.3.2'
Omranic Dec 25, 2020
a33e0ae
Merge tag 'v7.3.2' into develop
Omranic Dec 25, 2020
ad6323f
Enable StyleCI risky mode
Omranic Dec 25, 2020
d414113
Fixed bug that prevents default value to be returned from get method …
lukasmu Jan 2, 2021
4fed30e
Upgrade to GitHub-native Dependabot (#183)
dependabot-preview[bot] May 7, 2021
6f2f4df
Update composer dependencies
Omranic Aug 4, 2021
c7976a7
Drop PHP v7 support, and upgrade rinvex package dependencies to next …
Omranic Aug 21, 2021
7747bc2
Drop PHP v7 support, and upgrade rinvex package dependencies to next …
Omranic Aug 21, 2021
20dccc1
Bump version
Omranic Aug 22, 2021
4614e02
Merge branch 'release/v8.0.0'
Omranic Aug 22, 2021
4802612
Merge tag 'v8.0.0' into develop
Omranic Aug 22, 2021
0fb14b0
UK is no longer a EU member state (longlist) (#179)
thijskok Sep 27, 2021
e13ef29
Fix letter case for language case (fix #117 & #118)
Omranic Sep 30, 2021
b420c1d
Merge branch 'develop' of github.com:rinvex/countries into develop
Omranic Sep 30, 2021
bf1bdae
Fix array access on bool when retrieving short list of countries (fix…
sigmoidal Sep 30, 2021
fcd2585
Fix the official Portuguese name of Portugal to República Portuguesa …
Omranic Sep 30, 2021
27df29d
Update and optimize country flags
Omranic Oct 2, 2021
1cf372b
Update country currencies to include only the official currency (fix …
Omranic Oct 3, 2021
8a61744
Fix Mexico subregion to North America Instead of Central America (fix…
Omranic Oct 3, 2021
4667663
If Italy native official name in shortlist (fix #192)
Omranic Oct 3, 2021
a2f6900
Exclude src/CountryLoader.php from StyleCI fixers (to avoid false pos…
Omranic Oct 3, 2021
141cee1
Exclude src/CountryLoader.php from StyleCI fixers (to avoid false pos…
Omranic Oct 3, 2021
58831a1
Exclude src/CountryLoader.php from StyleCI fixers (to avoid false pos…
Omranic Oct 3, 2021
ed90045
StyleCI finder exclude doesn't seem to be working, remove it for now
Omranic Oct 3, 2021
81ae6f4
Replace not allowed integer WMO code values with null to omit php typ…
Omranic Oct 3, 2021
a20f067
Replace not allowed integer DS code values with null to omit php typ …
Omranic Oct 3, 2021
5b18115
Replace not allowed integer FIPS code values with null to omit php ty…
Omranic Oct 3, 2021
bfa438b
Replace not allowed integer IOC code values with null to omit php typ…
Omranic Oct 3, 2021
0afc2f3
Replace not allowed integer COWC code values with null to omit php ty…
Omranic Oct 3, 2021
5bd190a
Replace not allowed integer AR5 code values with null to omit php typ…
Omranic Oct 3, 2021
e93cf72
Fix Antarctica currency to null
Omranic Oct 3, 2021
1475ba9
Fix issues with currencies longlist retrieval (fix #167)
Omranic Oct 3, 2021
ea4dc50
Bump version
Omranic Oct 5, 2021
9470314
Merge branch 'release/v8.1.0'
Omranic Oct 5, 2021
5f953cb
Merge tag 'v8.1.0' into develop
Omranic Oct 5, 2021
229b7ad
Update .styleci.yml fixers
Omranic Oct 22, 2021
3a26a34
Update StyleCI fixers, disable explicit_string_variable & explicit_in…
Omranic Nov 18, 2021
3cf8cf2
Copyright updated with current year (#212)
Rattone Jan 9, 2022
58cf4db
Rename Belarus country german name from Weißrussland (#214 & #211)
ms-zlab Apr 9, 2022
cb6439b
Add country data protection (#217)
ninjahza Apr 10, 2022
1bd97a4
Fix country validator rule to check if the key is 2 lower char string
Omranic May 1, 2022
72c7fbb
Fix currency validator rule to check if the key is 3 capital char string
Omranic May 1, 2022
96e5ff5
Bump version
Omranic May 1, 2022
154e639
Merge branch 'release/v8.1.1'
Omranic May 1, 2022
f8f3c57
Merge tag 'v8.1.1' into develop
Omranic May 1, 2022
80614d9
pl: ISO 3166-2 subdivision codes fixed (#225)
DSpeichert Dec 7, 2022
40e5f97
Bump version
Omranic Dec 29, 2022
aeba8be
Merge tag 'v8.1.2' into develop
Omranic Dec 29, 2022
b012697
Merge branch 'release/v8.1.2'
Omranic Dec 29, 2022
e9aeac6
Replace strlen with mb_strlen
Omranic Dec 29, 2022
a8b4440
Drop PHP v8.0 support and update composer dependencies
Omranic Jan 8, 2023
7a8dc1b
Bump version
Omranic Jan 8, 2023
683e7b6
Merge tag 'v9.0.0' into develop
Omranic Jan 8, 2023
e432598
Merge branch 'release/v9.0.0'
Omranic Jan 8, 2023
fd95e94
Update phpunit to v10.1 from v9.5
Omranic Apr 30, 2023
4938d8d
Bump version
Omranic May 2, 2023
64f14ce
Update changelog and bump version to v9.1.0
Omranic May 2, 2023
0fdccd0
Merge branch 'release/v9.0.1'
Omranic May 2, 2023
5248778
Merge tag 'v9.0.1' into develop
Omranic May 2, 2023
ae4a459
Fix file permissions
Omranic Jan 16, 2024
9a47cc8
Require php v8.2 minimum version
Omranic Mar 31, 2024
8b28041
Drop incomplete and unused tests/services
Omranic Apr 3, 2024
ebef160
Update supplementary files
Omranic Apr 3, 2024
460c266
Use __() instead of trans() for naming consistency
Omranic Apr 3, 2024
1b3cceb
AddTestsVoidReturnTypeWhereNoReturnRector
Omranic Jul 23, 2024
383c390
ClosureToArrowFunctionRector
Omranic Jul 23, 2024
6fb548b
MixedTypeRector
Omranic Jul 23, 2024
7710c4f
NullToStrictStringFuncCallArgRector
Omranic Jul 23, 2024
a0ea10a
ImportFQNRector
Omranic Jul 23, 2024
63b2472
RemoveUselessParamTagRector & RemoveUselessReturnTagRector
Omranic Jul 23, 2024
db96141
InlineIfToExplicitIfRector
Omranic Jul 23, 2024
475f754
AddArrowFunctionReturnTypeRector
Omranic Jul 24, 2024
d72ce87
RemoveUselessReturnTagRector & ReturnTypeFromStrictNewArrayRector
Omranic Jul 24, 2024
6cd34ad
ReturnTypeFromReturnNewRector & RemoveUselessReturnTagRector
Omranic Jul 24, 2024
f6dcd9e
AddVoidReturnTypeWhereNoReturnRector
Omranic Jul 24, 2024
4bf2f6a
RemoveUselessReturnTagRector & ReturnTypeFromStrictNativeCallRector &…
Omranic Jul 24, 2024
fefc087
RemoveUselessReturnTagRector & ReturnTypeFromStrictTypedCallRector
Omranic Jul 24, 2024
f2ed70f
ReturnTypeFromStrictFluentReturnRector
Omranic Jul 24, 2024
6efcef7
RenameVariableToMatchNewTypeRector
Omranic Jul 24, 2024
51d3b05
AnnotationToAttributeRector
Omranic Jul 25, 2024
ca7abbe
PHPStan: Set the in_array third parameter $strict to `true` to also c…
Omranic Jul 25, 2024
fa976c0
Compatibility with php 8.4 (#265) Deprecate implicitly nullable param…
srjlewis Jul 14, 2025
3416043
fix php version (#255)
tacman Jul 14, 2025
80e1e22
Apply fixes from StyleCI (#273)
Omranic Jul 14, 2025
5988151
Bump version
Omranic Jul 14, 2025
7ece458
Merge branch 'release/v9.1.0'
Omranic Jul 14, 2025
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
  •  
  •  
  •  
38 changes: 0 additions & 38 deletions .codeclimate.yml

This file was deleted.

7 changes: 2 additions & 5 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# http://editorconfig.org
root = true

[*]
Expand All @@ -7,12 +6,10 @@ end_of_line = lf
indent_size = 4
indent_style = space
insert_final_newline = true
max_line_length = 80
trim_trailing_whitespace = true

[*.md]
max_line_length = 0
trim_trailing_whitespace = false

[COMMIT_EDITMSG]
max_line_length = 0
[*.{yml,yaml}]
indent_size = 2
24 changes: 17 additions & 7 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,9 +1,19 @@
* text=auto
*.css linguist-vendored
*.scss linguist-vendored

phpunit.* export-ignore
phpcs.* export-ignore
tests/ export-ignore
*.md export-ignore
.* export-ignore
*.blade.php diff=html
*.css diff=css
*.html diff=html
*.md diff=markdown
*.php diff=php

/.github export-ignore
/tests export-ignore
.editorconfig export-ignore
.gitattributes export-ignore
.gitignore export-ignore
.styleci.yml export-ignore
CHANGELOG.md export-ignore
CODE_OF_CONDUCT.md export-ignore
CONTRIBUTING.md export-ignore
phpstan.neon.dist export-ignore
phpunit.xml.dist export-ignore
4 changes: 1 addition & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
build/
vendor/
node_modules/
/vendor
composer.lock
composer.phar
phpunit.xml
301 changes: 0 additions & 301 deletions .scrutinizer.yml

This file was deleted.

Loading