Before starting, read the Sulu 3.0 Upgrade notes.
First, we need to update the Flysystem packages to version 3.x. Skip this if you already depend on this version.
composer require league/flysystem:"^3.29" league/flysystem-aws-s3-v3:"^3.29"
Before starting, read the Sulu 3.0 Upgrade notes.
First, we need to update the Flysystem packages to version 3.x. Skip this if you already depend on this version.
composer require league/flysystem:"^3.29" league/flysystem-aws-s3-v3:"^3.29"
| <?php | |
| declare(strict_types=1); | |
| namespace App\Infra; | |
| use Sulu\Bundle\PageBundle\Document\HomeDocument; | |
| use Sulu\Bundle\PageBundle\Document\PageDocument; | |
| use Sulu\Component\Content\Document\Extension\ExtensionContainer; | |
| use Sulu\Component\DocumentManager\Event\PersistEvent; | |
| use Sulu\Component\DocumentManager\Events; |
| <?php | |
| declare(strict_types=1); | |
| namespace Acme\DemoBundle; | |
| use Doctrine\Bundle\DoctrineBundle\DependencyInjection\Compiler\DoctrineOrmMappingsPass; | |
| use Symfony\Component\DependencyInjection\ContainerBuilder; | |
| use Symfony\Component\HttpKernel\Bundle\Bundle; | |
| class AcmeDemoBundle extends Bundle |
| <?php | |
| declare(strict_types=1); | |
| namespace Acme\DemoBundle; | |
| use Acme\DemoBundle\Doctrine\DBAL\Types\MyCustomType; | |
| use Doctrine\DBAL\Types\Type; | |
| use Doctrine\Persistence\ManagerRegistry; | |
| use Symfony\Component\HttpKernel\Bundle\Bundle; |
Download the .git-prompt.sh file from Git's repo
curl https://raw.githubusercontent.com/git/git/master/contrib/completion/git-prompt.sh > ~/.git-prompt.sh
Add the following to .bashrc in your homedir, after the PATH= definition
source ~/.git-prompt.sh
| <?php | |
| declare(strict_types=1); | |
| namespace AppBundle\Form\Extension; | |
| use Symfony\Component\Form\AbstractTypeExtension; | |
| use Symfony\Component\Form\Extension\Core\Type\ChoiceType; | |
| use Symfony\Component\Form\FormInterface; | |
| use Symfony\Component\Form\FormView; | |
| use Symfony\Component\OptionsResolver\OptionsResolver; |
| <?php | |
| namespace ChaletOps\BaseBundle\Utils; | |
| /** | |
| * Class MemcachedWrapper | |
| */ | |
| class MemcachedWrapper extends \Memcached | |
| { |