strip extra blank lines (php-cs-fixer)

This commit is contained in:
Dylan K. Taylor
2020-01-22 14:50:29 +00:00
parent 9cd6b3e1c7
commit f624871b3f
193 changed files with 0 additions and 243 deletions

View File

@ -23,7 +23,6 @@ declare(strict_types=1);
namespace pocketmine\item;
class Apple extends Food{
public function __construct(int $meta = 0){
parent::__construct(self::APPLE, $meta, "Apple");

View File

@ -21,7 +21,6 @@
declare(strict_types=1);
namespace pocketmine\item;
use pocketmine\event\entity\EntityDamageEvent;

View File

@ -23,7 +23,6 @@ declare(strict_types=1);
namespace pocketmine\item;
class BeetrootSoup extends Food{
public function __construct(int $meta = 0){
parent::__construct(self::BEETROOT_SOUP, $meta, "Beetroot Soup");

View File

@ -65,7 +65,6 @@ class Bow extends Tool{
$p = $diff / 20;
$baseForce = min((($p ** 2) + $p * 2) / 3, 1);
$entity = Entity::createEntity("Arrow", $player->getLevel(), $nbt, $player, $baseForce >= 1);
if($entity instanceof Projectile){
$infinity = $this->hasEnchantment(Enchantment::INFINITY);

View File

@ -23,7 +23,6 @@ declare(strict_types=1);
namespace pocketmine\item;
class Bowl extends Item{
public function __construct(int $meta = 0){
parent::__construct(self::BOWL, $meta, "Bowl");

View File

@ -23,7 +23,6 @@ declare(strict_types=1);
namespace pocketmine\item;
class ChainBoots extends Armor{
public function __construct(int $meta = 0){
parent::__construct(self::CHAIN_BOOTS, $meta, "Chainmail Boots");

View File

@ -23,7 +23,6 @@ declare(strict_types=1);
namespace pocketmine\item;
class ChainChestplate extends Armor{
public function __construct(int $meta = 0){
parent::__construct(self::CHAIN_CHESTPLATE, $meta, "Chain Chestplate");

View File

@ -23,7 +23,6 @@ declare(strict_types=1);
namespace pocketmine\item;
class ChainHelmet extends Armor{
public function __construct(int $meta = 0){
parent::__construct(self::CHAIN_HELMET, $meta, "Chainmail Helmet");

View File

@ -23,7 +23,6 @@ declare(strict_types=1);
namespace pocketmine\item;
class ChainLeggings extends Armor{
public function __construct(int $meta = 0){
parent::__construct(self::CHAIN_LEGGINGS, $meta, "Chain Leggings");

View File

@ -23,7 +23,6 @@ declare(strict_types=1);
namespace pocketmine\item;
class Coal extends Item{
public function __construct(int $meta = 0){
parent::__construct(self::COAL, $meta, "Coal");

View File

@ -23,7 +23,6 @@ declare(strict_types=1);
namespace pocketmine\item;
class DiamondBoots extends Armor{
public function __construct(int $meta = 0){
parent::__construct(self::DIAMOND_BOOTS, $meta, "Diamond Boots");

View File

@ -23,7 +23,6 @@ declare(strict_types=1);
namespace pocketmine\item;
class DiamondChestplate extends Armor{
public function __construct(int $meta = 0){
parent::__construct(self::DIAMOND_CHESTPLATE, $meta, "Diamond Chestplate");

View File

@ -23,7 +23,6 @@ declare(strict_types=1);
namespace pocketmine\item;
class DiamondHelmet extends Armor{
public function __construct(int $meta = 0){
parent::__construct(self::DIAMOND_HELMET, $meta, "Diamond Helmet");

View File

@ -23,7 +23,6 @@ declare(strict_types=1);
namespace pocketmine\item;
class DiamondLeggings extends Armor{
public function __construct(int $meta = 0){
parent::__construct(self::DIAMOND_LEGGINGS, $meta, "Diamond Leggings");

View File

@ -23,7 +23,6 @@ declare(strict_types=1);
namespace pocketmine\item;
class GoldBoots extends Armor{
public function __construct(int $meta = 0){
parent::__construct(self::GOLD_BOOTS, $meta, "Gold Boots");

View File

@ -23,7 +23,6 @@ declare(strict_types=1);
namespace pocketmine\item;
class GoldChestplate extends Armor{
public function __construct(int $meta = 0){
parent::__construct(self::GOLD_CHESTPLATE, $meta, "Gold Chestplate");

View File

@ -23,7 +23,6 @@ declare(strict_types=1);
namespace pocketmine\item;
class GoldHelmet extends Armor{
public function __construct(int $meta = 0){
parent::__construct(self::GOLD_HELMET, $meta, "Gold Helmet");

View File

@ -23,7 +23,6 @@ declare(strict_types=1);
namespace pocketmine\item;
class GoldLeggings extends Armor{
public function __construct(int $meta = 0){
parent::__construct(self::GOLD_LEGGINGS, $meta, "Gold Leggings");

View File

@ -23,7 +23,6 @@ declare(strict_types=1);
namespace pocketmine\item;
class IronBoots extends Armor{
public function __construct(int $meta = 0){
parent::__construct(self::IRON_BOOTS, $meta, "Iron Boots");

View File

@ -23,7 +23,6 @@ declare(strict_types=1);
namespace pocketmine\item;
class IronChestplate extends Armor{
public function __construct(int $meta = 0){
parent::__construct(self::IRON_CHESTPLATE, $meta, "Iron Chestplate");

View File

@ -23,7 +23,6 @@ declare(strict_types=1);
namespace pocketmine\item;
class IronHelmet extends Armor{
public function __construct(int $meta = 0){
parent::__construct(self::IRON_HELMET, $meta, "Iron Helmet");

View File

@ -23,7 +23,6 @@ declare(strict_types=1);
namespace pocketmine\item;
class IronLeggings extends Armor{
public function __construct(int $meta = 0){
parent::__construct(self::IRON_LEGGINGS, $meta, "Iron Leggings");

View File

@ -60,7 +60,6 @@ class Item implements ItemIds, \JsonSerializable{
public const TAG_DISPLAY_NAME = "Name";
public const TAG_DISPLAY_LORE = "Lore";
/** @var LittleEndianNBTStream */
private static $cachedParser = null;
@ -111,7 +110,6 @@ class Item implements ItemIds, \JsonSerializable{
return ItemFactory::fromString($str, $multiple);
}
/** @var Item[] */
private static $creative = [];

View File

@ -23,7 +23,6 @@ declare(strict_types=1);
namespace pocketmine\item;
class LeatherBoots extends Armor{
public function __construct(int $meta = 0){
parent::__construct(self::LEATHER_BOOTS, $meta, "Leather Boots");

View File

@ -23,7 +23,6 @@ declare(strict_types=1);
namespace pocketmine\item;
class LeatherCap extends Armor{
public function __construct(int $meta = 0){
parent::__construct(self::LEATHER_CAP, $meta, "Leather Cap");

View File

@ -23,7 +23,6 @@ declare(strict_types=1);
namespace pocketmine\item;
class LeatherPants extends Armor{
public function __construct(int $meta = 0){
parent::__construct(self::LEATHER_PANTS, $meta, "Leather Pants");

View File

@ -23,7 +23,6 @@ declare(strict_types=1);
namespace pocketmine\item;
class LeatherTunic extends Armor{
public function __construct(int $meta = 0){
parent::__construct(self::LEATHER_TUNIC, $meta, "Leather Tunic");

View File

@ -23,7 +23,6 @@ declare(strict_types=1);
namespace pocketmine\item;
class Stick extends Item{
public function __construct(int $meta = 0){
parent::__construct(self::STICK, $meta, "Stick");

View File

@ -23,7 +23,6 @@ declare(strict_types=1);
namespace pocketmine\item\enchantment;
class EnchantmentEntry{
/** @var Enchantment[] */

View File

@ -23,7 +23,6 @@ declare(strict_types=1);
namespace pocketmine\item\enchantment;
class EnchantmentList{
/** @var \SplFixedArray|EnchantmentEntry[] */