<?php
// OOP Approach with Interfaces and Classes
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
<div popover id="{{ id }}" {{ attributes.defaults({class: 'pop-over dialog-popover'}) }}> | |
<div class="md-card h-100"> | |
{% block dialog_header %} | |
<div class="card-header">{{ title|trans|capitalize }} | |
<button type="button" class="icon-button" popovertargetaction="hide" | |
popovertarget="{{ id }}"> | |
<span class="icon icon-cancel"></span> | |
</button> | |
</div> | |
{% endblock %} |
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 Xoxo; | |
class CrossTenantQueryRunner | |
{ | |
private const EXCLUDED_TENANTS = ['demo', 'sandbox']; | |
/** |
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 Qbil\Infrastructure\Http\Security; | |
use Zzz\Infrastructure\Http\InvalidToken; | |
use Zzz\Infrastructure\Http\Token; | |
use Symfony\Component\Security\Core\Exception\CustomUserMessageAuthenticationException; | |
use Symfony\Component\Security\Http\AccessToken\AccessTokenHandlerInterface; |
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 Yay; | |
use Kcs\ClassFinder\Finder\FinderInterface; | |
use Symfony\Component\DependencyInjection\Attribute\Autowire; | |
use Symfony\Component\Finder\Finder; |
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 Tld\Translation\Infrastructure\Doctrine\Repository; | |
use Doctrine\ORM\EntityManagerInterface; | |
use Doctrine\ORM\EntityRepository; | |
use Doctrine\Persistence\ManagerRegistry; | |
use Tld\Translation\Domain\Entity\Translation; |
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 HakunaMatata; | |
use Doctrine\DBAL\Exception; | |
use Doctrine\DBAL\Query\QueryBuilder; | |
use Doctrine\DBAL\Types\Type; |
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 | |
namespace Yup\Translation; | |
use Symfony\Component\Config\ConfigCacheFactoryInterface; | |
use Symfony\Component\Config\ConfigCacheInterface; | |
class TranslationConfigCacheFactory implements ConfigCacheFactoryInterface | |
{ | |
private ConfigCacheFactoryInterface $configCacheFactory; |
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 Qbil\CommonBundle\Extension; | |
use Symfony\Component\HttpFoundation\Response; | |
use Webmozart\Assert\Assert; | |
final class MonospaceResponse extends Response |
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
name: Code check | |
on: | |
push: | |
branches: [ master, develop ] | |
pull_request: | |
branches: [ master, develop ] | |
types: [ synchronize, opened, reopened, ready_for_review ] | |
jobs: |
NewerOlder