Bite the bullet and enable strict types on everything

This commit is contained in:
Dylan K. Taylor
2017-06-03 21:32:29 +01:00
parent 606b9b687d
commit 51b0673b4b
846 changed files with 1691 additions and 1 deletions

View File

@ -19,6 +19,8 @@
*
*/
declare(strict_types=1);
namespace pocketmine\event;

View File

@ -19,6 +19,8 @@
*
*/
declare(strict_types=1);
/**
* Event related classes
*/

View File

@ -19,6 +19,8 @@
*
*/
declare(strict_types=1);
namespace pocketmine\event;

View File

@ -19,6 +19,8 @@
*
*/
declare(strict_types=1);
namespace pocketmine\event;
use pocketmine\plugin\Plugin;

View File

@ -19,6 +19,8 @@
*
*/
declare(strict_types=1);
namespace pocketmine\event;
use pocketmine\level\Level;

View File

@ -19,6 +19,8 @@
*
*/
declare(strict_types=1);
namespace pocketmine\event;
interface Listener{

View File

@ -19,6 +19,8 @@
*
*/
declare(strict_types=1);
namespace pocketmine\event;
class TextContainer{

View File

@ -19,6 +19,8 @@
*
*/
declare(strict_types=1);
namespace pocketmine\event;
use pocketmine\entity\Entity;

View File

@ -19,6 +19,8 @@
*
*/
declare(strict_types=1);
namespace pocketmine\event;
use pocketmine\command\defaults\TimingsCommand;

View File

@ -19,6 +19,8 @@
*
*/
declare(strict_types=1);
namespace pocketmine\event;
class TranslationContainer extends TextContainer{

View File

@ -19,6 +19,8 @@
*
*/
declare(strict_types=1);
namespace pocketmine\event\block;
use pocketmine\block\Block;

View File

@ -19,6 +19,8 @@
*
*/
declare(strict_types=1);
/**
* Block related events
*/

View File

@ -19,6 +19,8 @@
*
*/
declare(strict_types=1);
namespace pocketmine\event\block;
use pocketmine\block\Block;

View File

@ -19,6 +19,8 @@
*
*/
declare(strict_types=1);
namespace pocketmine\event\block;
use pocketmine\block\Block;

View File

@ -19,6 +19,8 @@
*
*/
declare(strict_types=1);
namespace pocketmine\event\block;
use pocketmine\block\Block;

View File

@ -19,6 +19,8 @@
*
*/
declare(strict_types=1);
namespace pocketmine\event\block;
use pocketmine\block\Block;

View File

@ -19,6 +19,8 @@
*
*/
declare(strict_types=1);
namespace pocketmine\event\block;
use pocketmine\event\Cancellable;

View File

@ -19,6 +19,8 @@
*
*/
declare(strict_types=1);
namespace pocketmine\event\block;
use pocketmine\block\Block;

View File

@ -19,6 +19,8 @@
*
*/
declare(strict_types=1);
namespace pocketmine\event\block;
use pocketmine\block\Block;

View File

@ -19,6 +19,8 @@
*
*/
declare(strict_types=1);
namespace pocketmine\event\entity;
use pocketmine\entity\Entity;

View File

@ -19,6 +19,8 @@
*
*/
declare(strict_types=1);
namespace pocketmine\event\entity;
use pocketmine\block\Block;

View File

@ -19,6 +19,8 @@
*
*/
declare(strict_types=1);
namespace pocketmine\event\entity;
use pocketmine\block\Block;

View File

@ -19,6 +19,8 @@
*
*/
declare(strict_types=1);
namespace pocketmine\event\entity;
use pocketmine\entity\Entity;

View File

@ -19,6 +19,8 @@
*
*/
declare(strict_types=1);
namespace pocketmine\event\entity;
use pocketmine\entity\Entity;

View File

@ -19,6 +19,8 @@
*
*/
declare(strict_types=1);
namespace pocketmine\event\entity;
use pocketmine\block\Block;

View File

@ -19,6 +19,8 @@
*
*/
declare(strict_types=1);
namespace pocketmine\event\entity;
use pocketmine\entity\Entity;

View File

@ -19,6 +19,8 @@
*
*/
declare(strict_types=1);
namespace pocketmine\event\entity;
use pocketmine\entity\Effect;

View File

@ -19,6 +19,8 @@
*
*/
declare(strict_types=1);
namespace pocketmine\event\entity;
use pocketmine\entity\Effect;

View File

@ -19,6 +19,8 @@
*
*/
declare(strict_types=1);
namespace pocketmine\event\entity;
use pocketmine\entity\Living;

View File

@ -19,6 +19,8 @@
*
*/
declare(strict_types=1);
namespace pocketmine\event\entity;
use pocketmine\entity\Creature;

View File

@ -19,6 +19,8 @@
*
*/
declare(strict_types=1);
namespace pocketmine\event\entity;
use pocketmine\block\Block;

View File

@ -19,6 +19,8 @@
*
*/
declare(strict_types=1);
namespace pocketmine\event\entity;
use pocketmine\entity\Effect;

View File

@ -19,6 +19,8 @@
*
*/
declare(strict_types=1);
namespace pocketmine\event\entity;
use pocketmine\entity\Entity;

View File

@ -19,6 +19,8 @@
*
*/
declare(strict_types=1);
namespace pocketmine\event\entity;
use pocketmine\entity\Effect;

View File

@ -19,6 +19,8 @@
*
*/
declare(strict_types=1);
namespace pocketmine\event\entity;
use pocketmine\entity\Effect;

View File

@ -19,6 +19,8 @@
*
*/
declare(strict_types=1);
namespace pocketmine\event\entity;
class EntityEffectRemoveEvent extends EntityEffectEvent{

View File

@ -19,6 +19,8 @@
*
*/
declare(strict_types=1);
/**
* Entity related Events, like spawn, inventory, attack...
*/

View File

@ -19,6 +19,8 @@
*
*/
declare(strict_types=1);
namespace pocketmine\event\entity;
use pocketmine\block\Block;

View File

@ -19,6 +19,8 @@
*
*/
declare(strict_types=1);
namespace pocketmine\event\entity;
use pocketmine\entity\Entity;

View File

@ -19,6 +19,8 @@
*
*/
declare(strict_types=1);
namespace pocketmine\event\entity;
use pocketmine\entity\Entity;

View File

@ -19,6 +19,8 @@
*
*/
declare(strict_types=1);
namespace pocketmine\event\entity;
use pocketmine\entity\Entity;

View File

@ -19,6 +19,8 @@
*
*/
declare(strict_types=1);
namespace pocketmine\event\entity;
use pocketmine\entity\Entity;

View File

@ -19,6 +19,8 @@
*
*/
declare(strict_types=1);
namespace pocketmine\event\entity;
use pocketmine\entity\Entity;

View File

@ -19,6 +19,8 @@
*
*/
declare(strict_types=1);
namespace pocketmine\event\entity;
use pocketmine\entity\Creature;

View File

@ -19,6 +19,8 @@
*
*/
declare(strict_types=1);
namespace pocketmine\event\entity;
use pocketmine\entity\Entity;

View File

@ -19,6 +19,8 @@
*
*/
declare(strict_types=1);
namespace pocketmine\event\entity;
use pocketmine\entity\Entity;

View File

@ -19,6 +19,8 @@
*
*/
declare(strict_types=1);
namespace pocketmine\event\entity;
use pocketmine\entity\Item;

View File

@ -19,6 +19,8 @@
*
*/
declare(strict_types=1);
namespace pocketmine\event\entity;
use pocketmine\entity\Item;

View File

@ -19,6 +19,8 @@
*
*/
declare(strict_types=1);
namespace pocketmine\event\entity;
use pocketmine\entity\Projectile;

View File

@ -19,6 +19,8 @@
*
*/
declare(strict_types=1);
namespace pocketmine\event\entity;
use pocketmine\entity\Projectile;

View File

@ -19,6 +19,8 @@
*
*/
declare(strict_types=1);
namespace pocketmine\event\inventory;
use pocketmine\event\Cancellable;

View File

@ -19,6 +19,8 @@
*
*/
declare(strict_types=1);
namespace pocketmine\event\inventory;
use pocketmine\event\block\BlockEvent;

View File

@ -19,6 +19,8 @@
*
*/
declare(strict_types=1);
namespace pocketmine\event\inventory;
use pocketmine\event\block\BlockEvent;

View File

@ -19,6 +19,8 @@
*
*/
declare(strict_types=1);
namespace pocketmine\event\inventory;
use pocketmine\inventory\Inventory;

View File

@ -19,6 +19,8 @@
*
*/
declare(strict_types=1);
/**
* Inventory related events
*/

View File

@ -19,6 +19,8 @@
*
*/
declare(strict_types=1);
namespace pocketmine\event\inventory;
use pocketmine\event\Cancellable;

View File

@ -19,6 +19,8 @@
*
*/
declare(strict_types=1);
namespace pocketmine\event\inventory;
use pocketmine\entity\Arrow;

View File

@ -19,6 +19,8 @@
*
*/
declare(strict_types=1);
namespace pocketmine\event\inventory;
use pocketmine\entity\Item;

View File

@ -19,6 +19,8 @@
*
*/
declare(strict_types=1);
namespace pocketmine\event\inventory;
use pocketmine\event\Cancellable;

View File

@ -19,6 +19,8 @@
*
*/
declare(strict_types=1);
namespace pocketmine\event\level;

View File

@ -19,6 +19,8 @@
*
*/
declare(strict_types=1);
namespace pocketmine\event\level;

View File

@ -19,6 +19,8 @@
*
*/
declare(strict_types=1);
namespace pocketmine\event\level;
/**

View File

@ -19,6 +19,8 @@
*
*/
declare(strict_types=1);
namespace pocketmine\event\level;
use pocketmine\event\Cancellable;

View File

@ -19,6 +19,8 @@
*
*/
declare(strict_types=1);
/**
* Level related events
*/

View File

@ -19,6 +19,8 @@
*
*/
declare(strict_types=1);
namespace pocketmine\event\level;
/**

View File

@ -19,6 +19,8 @@
*
*/
declare(strict_types=1);
namespace pocketmine\event\level;
/**

View File

@ -19,6 +19,8 @@
*
*/
declare(strict_types=1);
namespace pocketmine\event\level;
/**

View File

@ -19,6 +19,8 @@
*
*/
declare(strict_types=1);
namespace pocketmine\event\level;
use pocketmine\event\Cancellable;

View File

@ -19,6 +19,8 @@
*
*/
declare(strict_types=1);
namespace pocketmine\event\level;
use pocketmine\level\Level;

View File

@ -19,6 +19,8 @@
*
*/
declare(strict_types=1);
namespace pocketmine\event\player;
use pocketmine\event\Cancellable;

View File

@ -19,6 +19,8 @@
*
*/
declare(strict_types=1);
namespace pocketmine\event\player;
use pocketmine\event\Cancellable;

View File

@ -19,6 +19,8 @@
*
*/
declare(strict_types=1);
namespace pocketmine\event\player;
use pocketmine\block\Block;

View File

@ -19,6 +19,8 @@
*
*/
declare(strict_types=1);
namespace pocketmine\event\player;
use pocketmine\block\Block;

View File

@ -19,6 +19,8 @@
*
*/
declare(strict_types=1);
namespace pocketmine\event\player;
use pocketmine\block\Block;

View File

@ -19,6 +19,8 @@
*
*/
declare(strict_types=1);
namespace pocketmine\event\player;
use pocketmine\block\Block;

View File

@ -19,6 +19,8 @@
*
*/
declare(strict_types=1);
namespace pocketmine\event\player;
use pocketmine\block\Block;

View File

@ -19,6 +19,8 @@
*
*/
declare(strict_types=1);
namespace pocketmine\event\player;
use pocketmine\event\Cancellable;

View File

@ -19,6 +19,8 @@
*
*/
declare(strict_types=1);
namespace pocketmine\event\player;
use pocketmine\event\Cancellable;

View File

@ -19,6 +19,8 @@
*
*/
declare(strict_types=1);
namespace pocketmine\event\player;
use pocketmine\event\Event;

View File

@ -19,6 +19,8 @@
*
*/
declare(strict_types=1);
namespace pocketmine\event\player;
use pocketmine\event\entity\EntityDeathEvent;

View File

@ -19,6 +19,8 @@
*
*/
declare(strict_types=1);
namespace pocketmine\event\player;
use pocketmine\event\Cancellable;

View File

@ -19,6 +19,8 @@
*
*/
declare(strict_types=1);
/**
* Player-only related events
*/

View File

@ -19,6 +19,8 @@
*
*/
declare(strict_types=1);
namespace pocketmine\event\player;
use pocketmine\entity\Human;

View File

@ -19,6 +19,8 @@
*
*/
declare(strict_types=1);
namespace pocketmine\event\player;
use pocketmine\event\Cancellable;

View File

@ -19,6 +19,8 @@
*
*/
declare(strict_types=1);
namespace pocketmine\event\player;
use pocketmine\block\Block;

View File

@ -19,6 +19,8 @@
*
*/
declare(strict_types=1);
namespace pocketmine\event\player;
use pocketmine\event\Cancellable;

View File

@ -19,6 +19,8 @@
*
*/
declare(strict_types=1);
namespace pocketmine\event\player;
use pocketmine\event\Cancellable;

View File

@ -19,6 +19,8 @@
*
*/
declare(strict_types=1);
namespace pocketmine\event\player;
use pocketmine\event\TextContainer;

View File

@ -19,6 +19,8 @@
*
*/
declare(strict_types=1);
namespace pocketmine\event\player;
use pocketmine\event\Cancellable;

View File

@ -19,6 +19,8 @@
*
*/
declare(strict_types=1);
namespace pocketmine\event\player;
use pocketmine\event\Cancellable;

View File

@ -19,6 +19,8 @@
*
*/
declare(strict_types=1);
namespace pocketmine\event\player;
use pocketmine\event\Cancellable;

View File

@ -19,6 +19,8 @@
*
*/
declare(strict_types=1);
namespace pocketmine\event\player;
use pocketmine\event\Cancellable;

View File

@ -19,6 +19,8 @@
*
*/
declare(strict_types=1);
namespace pocketmine\event\player;
use pocketmine\event\TranslationContainer;

View File

@ -19,6 +19,8 @@
*
*/
declare(strict_types=1);
namespace pocketmine\event\player;
use pocketmine\level\Position;

View File

@ -19,6 +19,8 @@
*
*/
declare(strict_types=1);
namespace pocketmine\event\player;
use pocketmine\event\Cancellable;

View File

@ -19,6 +19,8 @@
*
*/
declare(strict_types=1);
namespace pocketmine\event\player;
use pocketmine\event\Cancellable;

View File

@ -19,6 +19,8 @@
*
*/
declare(strict_types=1);
namespace pocketmine\event\player;
use pocketmine\event\Cancellable;

View File

@ -19,6 +19,8 @@
*
*/
declare(strict_types=1);
/**
* Events called when a player attempts to cheat
*/

View File

@ -19,6 +19,8 @@
*
*/
declare(strict_types=1);
/**
* Events called when a player attempts to perform movement cheats such as clipping through blocks.
*/

View File

@ -19,6 +19,8 @@
*
*/
declare(strict_types=1);
namespace pocketmine\event\plugin;

Some files were not shown because too many files have changed in this diff Show More