* added travisci to prevent mistype (#89)

* feat: travis

* feat: travis

* feat: travis

* feat: travis

* feat: travis

* fix: typo
This commit is contained in:
Gabriel Pedro 2019-07-22 06:12:01 -04:00 committed by tobi132
parent dca74d7b11
commit e7c381d651
2 changed files with 15 additions and 2 deletions

13
.travis.yml Normal file
View File

@ -0,0 +1,13 @@
language: php
php:
- '5.6'
- '7.0'
- '7.1'
- '7.2'
before_script:
- composer require jakub-onderka/php-parallel-lint --no-suggest --no-progress --no-interaction --no-ansi --quiet --optimize-autoloader
script:
- php vendor/bin/parallel-lint --no-progress --no-colors --exclude vendor .

View File

@ -100,7 +100,7 @@ class OTS_ServerStatus
/**
* Server software info.
*/
const REQUEST_SERVER_SOFTWARE_INFO = 0x23;
const RESPOND_SERVER_SOFTWARE_INFO = 0x23;
/**
* Server name.
*
@ -278,7 +278,7 @@ class OTS_ServerStatus
}
break;
case self::REQUEST_SERVER_SOFTWARE_INFO:
case self::RESPOND_SERVER_SOFTWARE_INFO:
$this->softwareName = $info->getString();
$this->softwareVersion = $info->getString();
$this->softwareProtocol = $info->getString();