## Problem `vendor/bin/rector --dry-run` reports three files that would change, which fails the Static Analysis job of the Tests workflow. ## Reproduction Run `vendor/bin/rector --dry-run --no-progress-bar` on a clean checkout with PHP 8.4, as the workflow does. Rector lists `PasswordBroker.php`, `PasswordBrokerManager.php` and `FileController.php`. With PHP 8.3 the command reports nothing, because some rules depend on the running PHP version. ## Root cause Recent changes in these three files were merged without running Rector, so they differ from the style the project enforces. ## Fix Apply exactly the changes Rector prints: * `PasswordBroker`: compare the callback with `instanceof Closure` instead of `!== null`. * `PasswordBrokerManager`: use `throw_unless` and `throw_if` with the exception class string. * `FileController`: name the caught exception `$daemonConnectionException` after its type. ## Testing * `vendor/bin/rector --dry-run` no longer reports changes locally, and PHPStan and Pint still pass. * The authentication integration tests and the server file integration tests pass (86 tests). * I could not run Rector under PHP 8.4 locally, so the Static Analysis job of this pull request is the confirmation. ## Compatibility considerations Behaviour is unchanged. The `instanceof Closure` check is stricter than a null check only for callbacks that are not closures, and the parameter is already typed as a nullable closure.
Pterodactyl Panel
Pterodactyl® is a free, open-source game server management panel built with PHP, React, and Go. Designed with security in mind, Pterodactyl runs all game servers in isolated Docker containers while exposing a beautiful and intuitive UI to end users.
Stop settling for less. Make game servers a first class citizen on your platform.
What's new in v2
This branch (2.0-develop) is where Pterodactyl v2 is being built. It is under active development; the current
stable release line lives on 1.0-develop.
- Extension SDK — extend the panel through a versioned API instead of editing core files, so your changes survive updates. Example extensions live in pterodactyl/extensions.
- Fully modernized tech stack — Vite, React 19, TanStack Router and Query, Tailwind 4 and Laravel 13.
- Brand new admin area — the admin and client areas are now a single React application with one design.
- One-click egg importer — browse the egg catalog and import directly from the panel.
- Theming with design tokens — restyle the panel without rebuilding it.
- Still 100% free and open source — MIT licensed, as always.
Documentation
- Panel Documentation
- Wings Documentation
- Community Guides
- Or, get additional help via Discord
Sponsors
I would like to extend my sincere thanks to the following sponsors for helping fund Pterodactyl's development. Interested in becoming a sponsor?
| Company | About |
|---|---|
| Buildurly | Buildurly is a hardware procurement company. They deliver tailored, enterprise-grade hardware solutions designed around your unique needs. From sourcing to delivery, Buildurly's white-glove service ensures a seamless, worry-free, professional experience. |
| Hosturly | Hosturly is an enterprise hosting provider. They provide cost-effective, high-performance, and reliable services, including VPS, Web, Dedicated, and Colocation. |
| indifferent broccoli | indifferent broccoli is a game server hosting and rental company. With them, you get top-notch computer power for your gaming sessions. They destroy lag, latency, and complexity--letting you focus on the fun stuff. |
| Infraly, LLC | Infraly is an infrastructure company powering the next generation of online services. Through their brands, Infraly delivers cutting-edge solutions across multiple markets. Their vertically integrated approach provides unmatched performance, scalability, and reliability, giving our customers full control. |
| MineStrator | MineStrator is a game server hosting provider. Looking for the most high-end French hosting company for your Minecraft server? More than 24,000 members on our Discord trust us. Give us a try! |
| Physgun | Physgun is a game server hosting provider. Most providers rent rack space and rebrand a panel. At Physgun, they engineer the performance, write the features, and staff the support. Physgun truly is game hosting perfected! |
| WISP | WISP is an industry-leading SaaS platform for game server management, designed for hosting companies, gaming organizations, and enthusiasts. WISP combines modern, intuitive interfaces with powerful tools, making server deployment and administration seamless, scalable, and efficient. |
Supported Games
Pterodactyl supports a wide variety of games by utilizing Docker containers to isolate each instance. This gives you the power to run game servers without bloating machines with a host of additional dependencies.
Some of our core supported games include:
- Minecraft — including Paper, Sponge, Bungeecord, Waterfall, and more
- Rust
- Terraria
- Teamspeak
- Mumble
- Team Fortress 2
- Counter Strike: Global Offensive
- Garry's Mod
- ARK: Survival Evolved
In addition to our standard nest of supported games, our community is constantly pushing the limits of this software and there are plenty more games available provided by the community. Some of these games include:
- Factorio
- San Andreas: MP
- Pocketmine MP
- Squad
- Xonotic
- Starmade
- Discord ATLBot, and most other Node.js/Python discord bots
- and many more...
License
Pterodactyl® Copyright © 2015 - 2022 Dane Everitt and contributors.
Code released under the MIT License.
