Skip to content

Commit

Permalink
Adding a way to ignore file extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
mamazu committed Feb 5, 2022
1 parent 6b0981c commit 7e55a52
Show file tree
Hide file tree
Showing 321 changed files with 2,896 additions and 9 deletions.
6 changes: 6 additions & 0 deletions easy-coding-standard.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
imports:
- { resource: 'vendor/sylius-labs/coding-standard/easy-coding-standard.yml' }

services:
PhpCsFixer\Fixer\Comment\HeaderCommentFixer:
comment_type: "PHPDoc"
location: "after_open"
header: "This file is part of the Sylius package.\n\n (c) Paweł Jędrzejewski\n\nFor the full copyright and license information, please view the LICENSE\nfile that was distributed with this source code."

parameters:
skip:
SlevomatCodingStandard\Sniffs\Commenting\InlineDocCommentDeclarationSniff.MissingVariable: ~
Expand Down
9 changes: 9 additions & 0 deletions src/Checker/ChannelExistenceChecker.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
<?php

/**
* This file is part of the Sylius package.
*
* (c) Paweł Jędrzejewski
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

declare(strict_types=1);

namespace Sylius\ShopApiPlugin\Checker;
Expand Down
9 changes: 9 additions & 0 deletions src/Checker/ChannelExistenceCheckerInterface.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
<?php

/**
* This file is part of the Sylius package.
*
* (c) Paweł Jędrzejewski
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

declare(strict_types=1);

namespace Sylius\ShopApiPlugin\Checker;
Expand Down
9 changes: 9 additions & 0 deletions src/Checker/ProductInCartChannelChecker.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
<?php

/**
* This file is part of the Sylius package.
*
* (c) Paweł Jędrzejewski
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

declare(strict_types=1);

namespace Sylius\ShopApiPlugin\Checker;
Expand Down
9 changes: 9 additions & 0 deletions src/Checker/ProductInCartChannelCheckerInterface.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
<?php

/**
* This file is part of the Sylius package.
*
* (c) Paweł Jędrzejewski
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

declare(strict_types=1);

namespace Sylius\ShopApiPlugin\Checker;
Expand Down
9 changes: 9 additions & 0 deletions src/Checker/PromotionCouponEligibilityChecker.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
<?php

/**
* This file is part of the Sylius package.
*
* (c) Paweł Jędrzejewski
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

declare(strict_types=1);

namespace Sylius\ShopApiPlugin\Checker;
Expand Down
9 changes: 9 additions & 0 deletions src/Command/AddressBook/SetDefaultAddress.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
<?php

/**
* This file is part of the Sylius package.
*
* (c) Paweł Jędrzejewski
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

declare(strict_types=1);

namespace Sylius\ShopApiPlugin\Command\AddressBook;
Expand Down
9 changes: 9 additions & 0 deletions src/Command/Cart/AddCoupon.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
<?php

/**
* This file is part of the Sylius package.
*
* (c) Paweł Jędrzejewski
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

declare(strict_types=1);

namespace Sylius\ShopApiPlugin\Command\Cart;
Expand Down
9 changes: 9 additions & 0 deletions src/Command/Cart/AddressOrder.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
<?php

/**
* This file is part of the Sylius package.
*
* (c) Paweł Jędrzejewski
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

declare(strict_types=1);

namespace Sylius\ShopApiPlugin\Command\Cart;
Expand Down
9 changes: 9 additions & 0 deletions src/Command/Cart/AssignCustomerToCart.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
<?php

/**
* This file is part of the Sylius package.
*
* (c) Paweł Jędrzejewski
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

declare(strict_types=1);

namespace Sylius\ShopApiPlugin\Command\Cart;
Expand Down
9 changes: 9 additions & 0 deletions src/Command/Cart/ChangeItemQuantity.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
<?php

/**
* This file is part of the Sylius package.
*
* (c) Paweł Jędrzejewski
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

declare(strict_types=1);

namespace Sylius\ShopApiPlugin\Command\Cart;
Expand Down
9 changes: 9 additions & 0 deletions src/Command/Cart/ChoosePaymentMethod.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
<?php

/**
* This file is part of the Sylius package.
*
* (c) Paweł Jędrzejewski
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

declare(strict_types=1);

namespace Sylius\ShopApiPlugin\Command\Cart;
Expand Down
9 changes: 9 additions & 0 deletions src/Command/Cart/ChooseShippingMethod.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
<?php

/**
* This file is part of the Sylius package.
*
* (c) Paweł Jędrzejewski
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

declare(strict_types=1);

namespace Sylius\ShopApiPlugin\Command\Cart;
Expand Down
9 changes: 9 additions & 0 deletions src/Command/Cart/CompleteOrder.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
<?php

/**
* This file is part of the Sylius package.
*
* (c) Paweł Jędrzejewski
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

declare(strict_types=1);

namespace Sylius\ShopApiPlugin\Command\Cart;
Expand Down
9 changes: 9 additions & 0 deletions src/Command/Cart/DropCart.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
<?php

/**
* This file is part of the Sylius package.
*
* (c) Paweł Jędrzejewski
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

declare(strict_types=1);

namespace Sylius\ShopApiPlugin\Command\Cart;
Expand Down
9 changes: 9 additions & 0 deletions src/Command/Cart/PickupCart.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
<?php

/**
* This file is part of the Sylius package.
*
* (c) Paweł Jędrzejewski
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

declare(strict_types=1);

namespace Sylius\ShopApiPlugin\Command\Cart;
Expand Down
9 changes: 9 additions & 0 deletions src/Command/Cart/PutOptionBasedConfigurableItemToCart.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
<?php

/**
* This file is part of the Sylius package.
*
* (c) Paweł Jędrzejewski
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

declare(strict_types=1);

namespace Sylius\ShopApiPlugin\Command\Cart;
Expand Down
9 changes: 9 additions & 0 deletions src/Command/Cart/PutSimpleItemToCart.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
<?php

/**
* This file is part of the Sylius package.
*
* (c) Paweł Jędrzejewski
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

declare(strict_types=1);

namespace Sylius\ShopApiPlugin\Command\Cart;
Expand Down
9 changes: 9 additions & 0 deletions src/Command/Cart/PutVariantBasedConfigurableItemToCart.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
<?php

/**
* This file is part of the Sylius package.
*
* (c) Paweł Jędrzejewski
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

declare(strict_types=1);

namespace Sylius\ShopApiPlugin\Command\Cart;
Expand Down
9 changes: 9 additions & 0 deletions src/Command/Cart/RemoveCoupon.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
<?php

/**
* This file is part of the Sylius package.
*
* (c) Paweł Jędrzejewski
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

declare(strict_types=1);

namespace Sylius\ShopApiPlugin\Command\Cart;
Expand Down
9 changes: 9 additions & 0 deletions src/Command/Cart/RemoveItemFromCart.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
<?php

/**
* This file is part of the Sylius package.
*
* (c) Paweł Jędrzejewski
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

declare(strict_types=1);

namespace Sylius\ShopApiPlugin\Command\Cart;
Expand Down
9 changes: 9 additions & 0 deletions src/Command/CommandInterface.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
<?php

/**
* This file is part of the Sylius package.
*
* (c) Paweł Jędrzejewski
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

declare(strict_types=1);

namespace Sylius\ShopApiPlugin\Command;
Expand Down
9 changes: 9 additions & 0 deletions src/Command/Customer/EnableCustomer.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
<?php

/**
* This file is part of the Sylius package.
*
* (c) Paweł Jędrzejewski
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

declare(strict_types=1);

namespace Sylius\ShopApiPlugin\Command\Customer;
Expand Down
9 changes: 9 additions & 0 deletions src/Command/Customer/GenerateResetPasswordToken.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
<?php

/**
* This file is part of the Sylius package.
*
* (c) Paweł Jędrzejewski
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

declare(strict_types=1);

namespace Sylius\ShopApiPlugin\Command\Customer;
Expand Down
9 changes: 9 additions & 0 deletions src/Command/Customer/GenerateVerificationToken.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
<?php

/**
* This file is part of the Sylius package.
*
* (c) Paweł Jędrzejewski
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

declare(strict_types=1);

namespace Sylius\ShopApiPlugin\Command\Customer;
Expand Down
9 changes: 9 additions & 0 deletions src/Command/Customer/RegisterCustomer.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
<?php

/**
* This file is part of the Sylius package.
*
* (c) Paweł Jędrzejewski
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

declare(strict_types=1);

namespace Sylius\ShopApiPlugin\Command\Customer;
Expand Down
Loading

0 comments on commit 7e55a52

Please sign in to comment.