Skip to content

Commit

Permalink
Fixed support for virion v3 (#70)
Browse files Browse the repository at this point in the history
* Fixed support for virion v3

* Updated antigen to match the new namespace
  • Loading branch information
JavierLeon9966 authored Dec 14, 2023
1 parent 01df4a0 commit c549edd
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ This virion was made for developers to query Pocketmine-MP servers with ease. He
### Required imports
The following imports are necessary to use the virion library:
```php
use libpmquery\PMQuery;
use libpmquery\PmQueryException;
use jasonw4331\libpmquery\PMQuery;
use jasonw4331\libpmquery\PmQueryException;
```

### API
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"prefer-stable": true,
"autoload": {
"psr-4": {
"libpmquery\\": "/src/libpmquery"
"jasonw4331\\libpmquery\\": "/src/jasonw4331/libpmquery"
}
},
"require": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace libpmquery;
namespace jasonw4331\libpmquery;

use function explode;
use function fclose;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace libpmquery;
namespace jasonw4331\libpmquery;

class PmQueryException extends \Exception{
}
2 changes: 1 addition & 1 deletion virion.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: libpmquery
version: 1.0.0
antigen: libpmquery
antigen: jasonw4331\libpmquery
php:
- 7.4
- 8.0
Expand Down

0 comments on commit c549edd

Please sign in to comment.