mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-27 09:49:22 +02:00
* added travisci to prevent mistype (#89)
* feat: travis * feat: travis * feat: travis * feat: travis * feat: travis * fix: typo
This commit is contained in:
parent
dca74d7b11
commit
e7c381d651
13
.travis.yml
Normal file
13
.travis.yml
Normal 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 .
|
@ -100,7 +100,7 @@ class OTS_ServerStatus
|
|||||||
/**
|
/**
|
||||||
* Server software info.
|
* Server software info.
|
||||||
*/
|
*/
|
||||||
const REQUEST_SERVER_SOFTWARE_INFO = 0x23;
|
const RESPOND_SERVER_SOFTWARE_INFO = 0x23;
|
||||||
/**
|
/**
|
||||||
* Server name.
|
* Server name.
|
||||||
*
|
*
|
||||||
@ -278,7 +278,7 @@ class OTS_ServerStatus
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case self::REQUEST_SERVER_SOFTWARE_INFO:
|
case self::RESPOND_SERVER_SOFTWARE_INFO:
|
||||||
$this->softwareName = $info->getString();
|
$this->softwareName = $info->getString();
|
||||||
$this->softwareVersion = $info->getString();
|
$this->softwareVersion = $info->getString();
|
||||||
$this->softwareProtocol = $info->getString();
|
$this->softwareProtocol = $info->getString();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user