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
#!/bin/bash | |
PHP_VERSIONS="5.6 7.0 7.1 7.2 7.3 7.4" | |
EXTENSIONS="amqp imagick imap" | |
echo "Add taps" | |
brew tap shivammathur/php | |
brew tap shivammathur/extensions | |
echo "Remove all available PHP configs" |
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
Twig_Error_Runtime: | |
Neither the property "count" nor one of the methods "count()", "getcount()"/"iscount()"/"hascount()" or "__call()" exist and have public access in class "Enqueue\Bundle\Profiler\MessageQueueCollector". | |
at vendor/enqueue/enqueue-bundle/Resources/views/Profiler/panel.html.twig:4 | |
at twig_get_attribute(object(Twig_Environment), object(Twig_Source), object(MessageQueueCollector), 'count', array()) | |
(var/cache/dev/twig/f9/f995d8d3dca40c816e00dbb71d70facba485f3b7d29e1d3b19ee8f30e3a9ce83.php:56) | |
at __TwigTemplate_d5677ef9fe9993aa5ef688e8c2791a16d3505e161ba386063d2fd1233adfc784->block_toolbar(array('request' => object(Request), 'profile' => object(Profile), 'templates' => array('request' => '@WebProfiler/Collector/request.html.twig', 'api_platform.data_collector.request' => '@ApiPlatform/DataCollector/request.html.twig', 'time' => '@WebProfiler/Collector/time.html.twig', 'memory' => '@WebProfiler/Collector/memory.html.twig', 'validator' => '@WebProfiler/Collector/validator.html.twig', 'a |
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 App\Validator\Constraints\Luna; | |
use Symfony\Component\Validator\Constraint; | |
/** | |
* @Annotation | |
*/ | |
class MaxOrderQuantityCancelled extends Constraint |
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 App\Tests\Behat\Context; | |
use Behat\Behat\Context\Context; | |
use Behat\Behat\Hook\Scope\BeforeScenarioScope; | |
use Behatch\Context\RestContext; | |
use Lexik\Bundle\JWTAuthenticationBundle\Services\JWTManager; | |
use Sonata\UserBundle\Model\UserManagerInterface; | |
use Symfony\Component\Security\Core\User\UserInterface; |
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 AppBundle\DependencyInjection\Compiler; | |
use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface; | |
use Symfony\Component\DependencyInjection\ContainerBuilder; | |
/** | |
* @author Oskar Stark <[email protected]> | |
*/ |
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": "oskar.stark/acd2", | |
"license": "proprietary", | |
"type": "project", | |
"autoload": { | |
"psr-4": { | |
"AppBundle\\": "src/AppBundle" | |
}, | |
"classmap": [ | |
"app/AppKernel.php", |
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": "oskar.stark/acd2", | |
"license": "proprietary", | |
"type": "project", | |
"autoload": { | |
"psr-4": { | |
"AppBundle\\": "src/AppBundle" | |
}, | |
"classmap": [ | |
"app/AppKernel.php", |
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 | |
/** | |
* @var string | |
* | |
* @ORM\Column(name="email", type="string", length=255) | |
* | |
* @Assert\Email(groups={"registration"}, message="Ungültige Email-Adresse.") | |
* @Assert\NotBlank(groups={"registration"}, message="Email-Adresse darf nicht leer sein.") | |
*/ |
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 Application\Sonata\MediaBundle\Listener; | |
use Application\Sonata\MediaBundle\Entity\Media; | |
use Doctrine\ORM\Event\LifecycleEventArgs; | |
use Sonata\MediaBundle\Provider\MediaProviderInterface; | |
use Sonata\MediaBundle\Provider\Pool; | |
use Symfony\Component\DependencyInjection\ContainerInterface; |
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
server { | |
listen 80; | |
server_name localhost; | |
root /home/website/web; | |
rewrite ^/app\.php/?(.*)$ /$1 permanent; | |
try_files $uri @rewriteapp; | |
location @rewriteapp { |
NewerOlder