This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
declare(strict_types=1); | |
namespace App\Stripe\HttpClient; | |
use Psr\Http\Client\ClientExceptionInterface; | |
use Psr\Http\Client\ClientInterface as PsrClientInterface; | |
use Psr\Http\Message\RequestFactoryInterface; | |
use Psr\Http\Message\RequestInterface; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
declare(strict_types=1); | |
namespace App\PayumStripe\Action\StripeCheckoutSession; | |
use App\PayumStripe\Provider\OnboardedUserInfoProviderInterface; | |
use ArrayObject; | |
use FluxSE\PayumStripe\Action\StripeCheckoutSession\CaptureAction; | |
use FluxSE\PayumStripe\Request\Api\Resource\CreateSession; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
declare(strict_types=1); | |
namespace App\GiftCard\Payum\Extension; | |
use FluxSE\PayumStripe\Request\Api\Resource\CreateCoupon; | |
use FluxSE\PayumStripe\Request\Api\Resource\RetrieveCoupon; | |
use FluxSE\SyliusPayumStripePlugin\Action\ConvertPaymentAction; | |
use Payum\Core\Extension\Context; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
declare(strict_types=1); | |
namespace App\DependencyInjection\Compiler; | |
use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface; | |
use Symfony\Component\DependencyInjection\ContainerBuilder; | |
abstract class AbstractTwigTemplateCompilerPass implements CompilerPassInterface |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class iOSPNGNormalizer | |
{ | |
public static function fix($filename, $destfilename = null) | |
{ | |
try { | |
$handle = fopen($filename, "rb"); | |
$oldPNG = fread($handle, filesize($filename)); | |
fclose($handle); |