Skip to content

Update for PHP 7.2 compatibility#93

Open
jsmitty12 wants to merge 185 commits intophpWhois:masterfrom
jsmitty12:master
Open

Update for PHP 7.2 compatibility#93
jsmitty12 wants to merge 185 commits intophpWhois:masterfrom
jsmitty12:master

Conversation

@jsmitty12
Copy link
Copy Markdown

No description provided.

Dmitry Lukashin and others added 30 commits December 25, 2014 19:29
FIX: parsing empty lines in ip_handler
Cannot use assign-op operators with string offsets.
remove short array syntax
jsmitty12 and others added 29 commits October 3, 2020 15:33
- These will ultimately move into AbstractHandler or a subclass
`v` format character for milliseconds was broken before PHP 7.3
- skip tests that hang in PHP 8
This caused problems for me locally
* Remove replace from composer.json

The old phpwhois package is no longer equivalent as it contains security vulnerabilities that are now fixed.
- Officially test against PHP 8.0
- Clean up WhoisClientTest (style)
- Work around deprecated PHPUnit method
- Temporarily allow algo26-matthias/idna-convert to use dev-master (waiting for official PHP 8.0 support)
- Stop testing with Composer's --prefer-lowest (fails with Xdebug 3.0)

Fixes #79
* Stop using `algo26-matthias/idna-convert@dev-master`
- @Dev-Master was intended to be used only until algo26-matthias/idna-convert released a version that supports PHP 8.0, which 3.0.5 does

* Clean up .travis.yml
* Improve support for '.co.uk' domains (TorbenLundsgaard)

* Improve support for `.ws` domains (sirvulcan)

* Fix expectations for samoanic.ws test case

* Add more handler tests (#73)

* Remove line ending override for `.txt` fixtures
This caused problems for me locally

* Add tests for .ru domains

* Add test for .cat domains

* Add tests for .ch domains
Tests are skipped because whois queries appear to be via HTTP only and require solving a CAPTCHA

* Add tests for .cn domains

* Add tests for .co domains

* Synchronize Travis-CI config with `master` branch

* Add tests for .co.za domains

* Add tests for .coop domains

* Add tests for .cz domains

* Add tests for .eu domains

* Add tests for .fi domains
- fix date parsing

* Add tests for .fj domains
- .fj domain support is currently broken

* Add tests for .fm domains
- fix handlnig of .fm domains

* Add tests for .fr domains
- fix parsing

* Stub tests for gtld afternic

* Add tests for .hu domains

* Add tests for .ie domains

* Add stub tests for .il domains
- changed date parsing is broken

* Fix incorrect filename

* Standardize travisci configuration (from master branch)

* Set xdebug.mode=coverage via environment variable

* Move XDEBUG_MODE variable into global section

* Remove coverage.clover file

* Remove and ignore unwanted files

* Update changelog

* Add default configuration for PHP_CodeSniffer

(cherry picked from commit 720475f)

* Fix .kiwi whois server address

(cherry picked from commit f1fd811)

* Add legacy test for .kiwi domain

* Add test case for .kiwi domains
- create parser for registry information

* Update changelog

Co-authored-by: Neil Spierling <neil.spierling@umbrellar.com>

* Skip tests that hang on PHP 8.0

Co-authored-by: Neil Spierling <neil.spierling@umbrellar.com>
* Improve support for '.co.uk' domains (TorbenLundsgaard)

* Improve support for `.ws` domains (sirvulcan)

* Fix expectations for samoanic.ws test case

* Add more handler tests (#73)

* Remove line ending override for `.txt` fixtures
This caused problems for me locally

* Add tests for .ru domains

* Add test for .cat domains

* Add tests for .ch domains
Tests are skipped because whois queries appear to be via HTTP only and require solving a CAPTCHA

* Add tests for .cn domains

* Add tests for .co domains

* Synchronize Travis-CI config with `master` branch

* Add tests for .co.za domains

* Add tests for .coop domains

* Add tests for .cz domains

* Add tests for .eu domains

* Add tests for .fi domains
- fix date parsing

* Add tests for .fj domains
- .fj domain support is currently broken

* Add tests for .fm domains
- fix handlnig of .fm domains

* Add tests for .fr domains
- fix parsing

* Stub tests for gtld afternic

* Add tests for .hu domains

* Add tests for .ie domains

* Add stub tests for .il domains
- changed date parsing is broken

* Fix incorrect filename

* Standardize travisci configuration (from master branch)

* Set xdebug.mode=coverage via environment variable

* Move XDEBUG_MODE variable into global section

* Remove coverage.clover file

* Remove and ignore unwanted files

* Update changelog

* Add default configuration for PHP_CodeSniffer

(cherry picked from commit 720475f)

* Fix .kiwi whois server address

(cherry picked from commit f1fd811)

* Add legacy test for .kiwi domain

* Add test case for .kiwi domains
- create parser for registry information

* Update changelog

Co-authored-by: Neil Spierling <neil.spierling@umbrellar.com>

* Apply PSR-12 coding style

Co-authored-by: Neil Spierling <neil.spierling@umbrellar.com>
@acmwallace
Copy link
Copy Markdown

It would be pretty exciting to get php7.x compatibility for this library...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.