Skip to content

Commit

Permalink
PSR-4 update (#133)
Browse files Browse the repository at this point in the history
* Update project to PSR-4

* Rename exceptions and copy duplicated functions for group in parent class

* Rename exceptions and copy duplicated functions for group in parent class

* start mockup ServerQuery

* Icon Download extended function (#131)

* Update Server.php

Option to Download an icon by name.
This has the benefit that you don't have to change the virtualserver_icon_id to download a specific icon.

* Update Server.php

fixed name was not set for download
  • Loading branch information
y4roc authored and ronindesign committed Nov 27, 2019
1 parent 035d242 commit 2cf1d5a
Show file tree
Hide file tree
Showing 93 changed files with 14,736 additions and 14,823 deletions.
19 changes: 9 additions & 10 deletions composer.json
Expand Up @@ -17,7 +17,11 @@
"docs": "https://docs.planetteamspeak.com/ts3/php/framework"
},
"require": {
"php": ">=5.2.1"
"php": ">=5.6",
"ext-json": "*",
"ext-ctype": "*",
"ext-ssh2": "*",
"ext-openssl": "*"
},
"require-dev": {
"phpunit/phpunit": "^4.8.35 || ^5.4.3 || ^6.0 || ^7.0",
Expand All @@ -30,19 +34,14 @@
"dealerdirect/phpcodesniffer-composer-installer": "^0.4.4"
},
"autoload": {
"files": ["libraries/TeamSpeak3/TeamSpeak3.php"]
},
"autoload-dev": {
"psr-0": {
"": "libraries/"
},
"psr-4": {
"Tests\\": "tests"
"PlanetTeamSpeak\\TeamSpeak3Framework\\": "src/",
"PlanetTeamSpeak\\TeamSpeak3Framework\\Tests\\": "tests/"
}
},
"scripts": {
"compatibility": "./vendor/bin/phpcs -ps --basepath=. --standard=PHPCompatibility --runtime-set testVersion 5.2- libraries/TeamSpeak3",
"test": "./vendor/bin/phpunit --no-coverage",
"compatibility": "./vendor/bin/phpcs -ps --basepath=. --standard=PHPCompatibility --runtime-set testVersion 5.2- src",
"test": "./vendor/bin/phpunit --no-coverage ./tests",
"coverage": "./vendor/bin/phpunit"
}
}
157 changes: 0 additions & 157 deletions libraries/TeamSpeak3/Adapter/Abstract.php

This file was deleted.

187 changes: 0 additions & 187 deletions libraries/TeamSpeak3/Adapter/FileTransfer.php

This file was deleted.

0 comments on commit 2cf1d5a

Please sign in to comment.