diff --git a/Behavioral/ChainOfResponsibilities/Handler.php b/Behavioral/ChainOfResponsibilities/Handler.php index a0d25ba..8e6a74d 100644 --- a/Behavioral/ChainOfResponsibilities/Handler.php +++ b/Behavioral/ChainOfResponsibilities/Handler.php @@ -6,11 +6,8 @@ use Psr\Http\Message\RequestInterface; abstract class Handler { - private ?Handler $successor = null; - - public function __construct(Handler $handler = null) + public function __construct(private ?Handler $successor = null) { - $this->successor = $handler; } /** diff --git a/Behavioral/ChainOfResponsibilities/Responsible/HttpInMemoryCacheHandler.php b/Behavioral/ChainOfResponsibilities/Responsible/HttpInMemoryCacheHandler.php index 6da9b93..2111f25 100644 --- a/Behavioral/ChainOfResponsibilities/Responsible/HttpInMemoryCacheHandler.php +++ b/Behavioral/ChainOfResponsibilities/Responsible/HttpInMemoryCacheHandler.php @@ -7,13 +7,9 @@ use Psr\Http\Message\RequestInterface; class HttpInMemoryCacheHandler extends Handler { - private array $data; - - public function __construct(array $data, ?Handler $successor = null) + public function __construct(private array $data, ?Handler $successor = null) { parent::__construct($successor); - - $this->data = $data; } protected function processing(RequestInterface $request): ?string diff --git a/Behavioral/Command/AddMessageDateCommand.php b/Behavioral/Command/AddMessageDateCommand.php index 0cf9321..91a4f0c 100644 --- a/Behavioral/Command/AddMessageDateCommand.php +++ b/Behavioral/Command/AddMessageDateCommand.php @@ -8,15 +8,12 @@ namespace DesignPatterns\Behavioral\Command; */ class AddMessageDateCommand implements UndoableCommand { - private Receiver $output; - /** * Each concrete command is built with different receivers. * There can be one, many or completely no receivers, but there can be other commands in the parameters. */ - public function __construct(Receiver $console) + public function __construct(private Receiver $output) { - $this->output = $console; } /** diff --git a/Behavioral/Command/HelloCommand.php b/Behavioral/Command/HelloCommand.php index 92ab365..a663b4a 100644 --- a/Behavioral/Command/HelloCommand.php +++ b/Behavioral/Command/HelloCommand.php @@ -8,15 +8,12 @@ namespace DesignPatterns\Behavioral\Command; */ class HelloCommand implements Command { - private Receiver $output; - /** * Each concrete command is built with different receivers. * There can be one, many or completely no receivers, but there can be other commands in the parameters */ - public function __construct(Receiver $console) + public function __construct(private Receiver $output) { - $this->output = $console; } /** diff --git a/Behavioral/Iterator/Book.php b/Behavioral/Iterator/Book.php index 0b4f62e..34148ad 100644 --- a/Behavioral/Iterator/Book.php +++ b/Behavioral/Iterator/Book.php @@ -4,13 +4,8 @@ namespace DesignPatterns\Behavioral\Iterator; class Book { - private string $author; - private string $title; - - public function __construct(string $title, string $author) + public function __construct(private string $title, private string $author) { - $this->author = $author; - $this->title = $title; } public function getAuthor(): string diff --git a/Behavioral/Mediator/UserRepositoryUiMediator.php b/Behavioral/Mediator/UserRepositoryUiMediator.php index e59504b..e51b3ab 100644 --- a/Behavioral/Mediator/UserRepositoryUiMediator.php +++ b/Behavioral/Mediator/UserRepositoryUiMediator.php @@ -4,14 +4,8 @@ namespace DesignPatterns\Behavioral\Mediator; class UserRepositoryUiMediator implements Mediator { - private UserRepository $userRepository; - private Ui $ui; - - public function __construct(UserRepository $userRepository, Ui $ui) + public function __construct(private UserRepository $userRepository, private Ui $ui) { - $this->userRepository = $userRepository; - $this->ui = $ui; - $this->userRepository->setMediator($this); $this->ui->setMediator($this); } diff --git a/Behavioral/Memento/Memento.php b/Behavioral/Memento/Memento.php index 221e976..531582f 100644 --- a/Behavioral/Memento/Memento.php +++ b/Behavioral/Memento/Memento.php @@ -4,11 +4,8 @@ namespace DesignPatterns\Behavioral\Memento; class Memento { - private State $state; - - public function __construct(State $stateToSave) + public function __construct(private State $state) { - $this->state = $stateToSave; } public function getState(): State diff --git a/Behavioral/Memento/State.php b/Behavioral/Memento/State.php index 01e5cd1..a34eeb4 100644 --- a/Behavioral/Memento/State.php +++ b/Behavioral/Memento/State.php @@ -4,7 +4,7 @@ namespace DesignPatterns\Behavioral\Memento; use InvalidArgumentException; -class State +class State implements \Stringable { const STATE_CREATED = 'created'; const STATE_OPENED = 'opened'; diff --git a/Behavioral/NullObject/Service.php b/Behavioral/NullObject/Service.php index d0f9bb2..dc3183e 100644 --- a/Behavioral/NullObject/Service.php +++ b/Behavioral/NullObject/Service.php @@ -4,11 +4,8 @@ namespace DesignPatterns\Behavioral\NullObject; class Service { - private Logger $logger; - - public function __construct(Logger $logger) + public function __construct(private Logger $logger) { - $this->logger = $logger; } /** diff --git a/Behavioral/Observer/User.php b/Behavioral/Observer/User.php index e93a62b..226da38 100644 --- a/Behavioral/Observer/User.php +++ b/Behavioral/Observer/User.php @@ -12,7 +12,6 @@ use SplObserver; */ class User implements SplSubject { - private string $email; private SplObjectStorage $observers; public function __construct() @@ -32,7 +31,6 @@ class User implements SplSubject public function changeEmail(string $email) { - $this->email = $email; $this->notify(); } diff --git a/Behavioral/Specification/Item.php b/Behavioral/Specification/Item.php index 7b4f70d..efa537d 100644 --- a/Behavioral/Specification/Item.php +++ b/Behavioral/Specification/Item.php @@ -4,11 +4,8 @@ namespace DesignPatterns\Behavioral\Specification; class Item { - private float $price; - - public function __construct(float $price) + public function __construct(private float $price) { - $this->price = $price; } public function getPrice(): float diff --git a/Behavioral/Specification/NotSpecification.php b/Behavioral/Specification/NotSpecification.php index 26c5c61..f653cb3 100644 --- a/Behavioral/Specification/NotSpecification.php +++ b/Behavioral/Specification/NotSpecification.php @@ -4,11 +4,8 @@ namespace DesignPatterns\Behavioral\Specification; class NotSpecification implements Specification { - private Specification $specification; - - public function __construct(Specification $specification) + public function __construct(private Specification $specification) { - $this->specification = $specification; } public function isSatisfiedBy(Item $item): bool diff --git a/Behavioral/Specification/PriceSpecification.php b/Behavioral/Specification/PriceSpecification.php index 95a1e99..9bb697a 100644 --- a/Behavioral/Specification/PriceSpecification.php +++ b/Behavioral/Specification/PriceSpecification.php @@ -4,13 +4,8 @@ namespace DesignPatterns\Behavioral\Specification; class PriceSpecification implements Specification { - private ?float $maxPrice; - private ?float $minPrice; - - public function __construct(?float $minPrice, ?float $maxPrice) + public function __construct(private ?float $minPrice, private ?float $maxPrice) { - $this->minPrice = $minPrice; - $this->maxPrice = $maxPrice; } public function isSatisfiedBy(Item $item): bool diff --git a/Behavioral/Strategy/Comparator.php b/Behavioral/Strategy/Comparator.php index 0b9733f..49b7e04 100644 --- a/Behavioral/Strategy/Comparator.php +++ b/Behavioral/Strategy/Comparator.php @@ -7,8 +7,6 @@ interface Comparator /** * @param mixed $a * @param mixed $b - * - * @return int */ public function compare($a, $b): int; } diff --git a/Behavioral/Strategy/Context.php b/Behavioral/Strategy/Context.php index 64f6b8c..e0c9b52 100644 --- a/Behavioral/Strategy/Context.php +++ b/Behavioral/Strategy/Context.php @@ -4,11 +4,8 @@ namespace DesignPatterns\Behavioral\Strategy; class Context { - private Comparator $comparator; - - public function __construct(Comparator $comparator) + public function __construct(private Comparator $comparator) { - $this->comparator = $comparator; } public function executeStrategy(array $elements): array diff --git a/Behavioral/Visitor/Group.php b/Behavioral/Visitor/Group.php index 0a615a4..dbf1cbd 100644 --- a/Behavioral/Visitor/Group.php +++ b/Behavioral/Visitor/Group.php @@ -4,11 +4,8 @@ namespace DesignPatterns\Behavioral\Visitor; class Group implements Role { - private string $name; - - public function __construct(string $name) + public function __construct(private string $name) { - $this->name = $name; } public function getName(): string diff --git a/Behavioral/Visitor/User.php b/Behavioral/Visitor/User.php index 7cbbc6f..cfb06ed 100644 --- a/Behavioral/Visitor/User.php +++ b/Behavioral/Visitor/User.php @@ -4,11 +4,8 @@ namespace DesignPatterns\Behavioral\Visitor; class User implements Role { - private string $name; - - public function __construct(string $name) + public function __construct(private string $name) { - $this->name = $name; } public function getName(): string diff --git a/Creational/AbstractFactory/Tests/AbstractFactoryTest.php b/Creational/AbstractFactory/Tests/AbstractFactoryTest.php index 6e1e984..400dc34 100644 --- a/Creational/AbstractFactory/Tests/AbstractFactoryTest.php +++ b/Creational/AbstractFactory/Tests/AbstractFactoryTest.php @@ -21,8 +21,6 @@ class AbstractFactoryTest extends TestCase /** * @dataProvider provideFactory - * - * @param WriterFactory $writerFactory */ public function testCanCreateCsvWriterOnUnix(WriterFactory $writerFactory) { diff --git a/Creational/Builder/Parts/Vehicle.php b/Creational/Builder/Parts/Vehicle.php index 499d93f..1103be7 100644 --- a/Creational/Builder/Parts/Vehicle.php +++ b/Creational/Builder/Parts/Vehicle.php @@ -4,13 +4,7 @@ namespace DesignPatterns\Creational\Builder\Parts; abstract class Vehicle { - /** - * @var object[] - */ - private array $data = []; - public function setPart(string $key, object $value) { - $this->data[$key] = $value; } } diff --git a/Creational/FactoryMethod/FileLogger.php b/Creational/FactoryMethod/FileLogger.php index 6d6ac91..fde47ee 100644 --- a/Creational/FactoryMethod/FileLogger.php +++ b/Creational/FactoryMethod/FileLogger.php @@ -4,11 +4,8 @@ namespace DesignPatterns\Creational\FactoryMethod; class FileLogger implements Logger { - private string $filePath; - - public function __construct(string $filePath) + public function __construct(private string $filePath) { - $this->filePath = $filePath; } public function log(string $message) diff --git a/Creational/FactoryMethod/FileLoggerFactory.php b/Creational/FactoryMethod/FileLoggerFactory.php index c54fd2c..a94598d 100644 --- a/Creational/FactoryMethod/FileLoggerFactory.php +++ b/Creational/FactoryMethod/FileLoggerFactory.php @@ -4,11 +4,8 @@ namespace DesignPatterns\Creational\FactoryMethod; class FileLoggerFactory implements LoggerFactory { - private string $filePath; - - public function __construct(string $filePath) + public function __construct(private string $filePath) { - $this->filePath = $filePath; } public function createLogger(): Logger diff --git a/Creational/Pool/StringReverseWorker.php b/Creational/Pool/StringReverseWorker.php index 72ecab2..378f221 100644 --- a/Creational/Pool/StringReverseWorker.php +++ b/Creational/Pool/StringReverseWorker.php @@ -6,11 +6,8 @@ use DateTime; class StringReverseWorker { - private DateTime $createdAt; - public function __construct() { - $this->createdAt = new DateTime(); } public function run(string $text) diff --git a/Creational/Singleton/Singleton.php b/Creational/Singleton/Singleton.php index 86b8538..ebad0a6 100644 --- a/Creational/Singleton/Singleton.php +++ b/Creational/Singleton/Singleton.php @@ -28,13 +28,6 @@ final class Singleton { } - /** - * prevent the instance from being cloned (which would create a second instance of it) - */ - private function __clone() - { - } - /** * prevent from being unserialized (which would create a second instance of it) */ diff --git a/Dockerfile b/Dockerfile index 8a02900..942f820 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,15 @@ FROM composer AS composer WORKDIR /app ADD . /app -RUN composer install \ - && ./vendor/bin/phpcs --ignore=_build . \ - && ./vendor/bin/phpunit \ - && ./vendor/bin/psalm --show-info=false \ - && ./check-refs-readmes +RUN composer install + +FROM php:8-cli-alpine +WORKDIR /app +COPY --from=composer /app /app +RUN ./vendor/bin/phpcs --ignore=_build . \ + && ./vendor/bin/phpunit \ + && ./vendor/bin/psalm --show-info=false \ + && ./check-refs-readmes FROM python AS sphinx_build WORKDIR /app diff --git a/More/EAV/Attribute.php b/More/EAV/Attribute.php index 65c35e8..726c3f7 100644 --- a/More/EAV/Attribute.php +++ b/More/EAV/Attribute.php @@ -4,15 +4,13 @@ namespace DesignPatterns\More\EAV; use SplObjectStorage; -class Attribute +class Attribute implements \Stringable { private SplObjectStorage $values; - private string $name; - public function __construct(string $name) + public function __construct(private string $name) { $this->values = new SplObjectStorage(); - $this->name = $name; } public function addValue(Value $value) diff --git a/More/EAV/Entity.php b/More/EAV/Entity.php index 0c0b541..c6e49a6 100644 --- a/More/EAV/Entity.php +++ b/More/EAV/Entity.php @@ -4,7 +4,7 @@ namespace DesignPatterns\More\EAV; use SplObjectStorage; -class Entity +class Entity implements \Stringable { /** * @var SplObjectStorage @@ -12,19 +12,11 @@ class Entity private $values; /** - * @var string - */ - private string $name; - - /** - * @param string $name * @param Value[] $values */ - public function __construct(string $name, $values) + public function __construct(private string $name, $values) { - /** @var SplObjectStorage values */ $this->values = new SplObjectStorage(); - $this->name = $name; foreach ($values as $value) { $this->values->attach($value); diff --git a/More/EAV/Value.php b/More/EAV/Value.php index 65d7b3a..b55eb4e 100644 --- a/More/EAV/Value.php +++ b/More/EAV/Value.php @@ -2,16 +2,10 @@ namespace DesignPatterns\More\EAV; -class Value +class Value implements \Stringable { - private Attribute $attribute; - private string $name; - - public function __construct(Attribute $attribute, string $name) + public function __construct(private Attribute $attribute, private string $name) { - $this->name = $name; - $this->attribute = $attribute; - $attribute->addValue($this); } diff --git a/More/Repository/Domain/Post.php b/More/Repository/Domain/Post.php index 7b92e23..c67e1ac 100644 --- a/More/Repository/Domain/Post.php +++ b/More/Repository/Domain/Post.php @@ -4,11 +4,6 @@ namespace DesignPatterns\More\Repository\Domain; class Post { - private PostId $id; - private PostStatus $status; - private string $title; - private string $text; - public static function draft(PostId $id, string $title, string $text): Post { return new self( @@ -29,12 +24,12 @@ class Post ); } - private function __construct(PostId $id, PostStatus $status, string $title, string $text) - { - $this->id = $id; - $this->status = $status; - $this->text = $text; - $this->title = $title; + private function __construct( + private PostId $id, + private PostStatus $status, + private string $title, + private string $text + ) { } public function getId(): PostId diff --git a/More/Repository/Domain/PostId.php b/More/Repository/Domain/PostId.php index 59a0124..04b7b9b 100644 --- a/More/Repository/Domain/PostId.php +++ b/More/Repository/Domain/PostId.php @@ -13,8 +13,6 @@ use InvalidArgumentException; */ class PostId { - private int $id; - public static function fromInt(int $id): PostId { self::ensureIsValid($id); @@ -22,9 +20,8 @@ class PostId return new self($id); } - private function __construct(int $id) + private function __construct(private int $id) { - $this->id = $id; } public function toInt(): int diff --git a/More/Repository/Domain/PostStatus.php b/More/Repository/Domain/PostStatus.php index 809fe0b..fa81917 100644 --- a/More/Repository/Domain/PostStatus.php +++ b/More/Repository/Domain/PostStatus.php @@ -21,9 +21,6 @@ class PostStatus self::STATE_PUBLISHED_ID => self::STATE_PUBLISHED, ]; - private int $id; - private string $name; - public static function fromInt(int $statusId) { self::ensureIsValidId($statusId); @@ -43,10 +40,8 @@ class PostStatus return new self($state, $status); } - private function __construct(int $id, string $name) + private function __construct(private int $id, private string $name) { - $this->id = $id; - $this->name = $name; } public function toInt(): int diff --git a/More/Repository/PostRepository.php b/More/Repository/PostRepository.php index 0f5f21d..cc5d8a2 100644 --- a/More/Repository/PostRepository.php +++ b/More/Repository/PostRepository.php @@ -17,11 +17,8 @@ use DesignPatterns\More\Repository\Domain\PostId; */ class PostRepository { - private Persistence $persistence; - - public function __construct(Persistence $persistence) + public function __construct(private Persistence $persistence) { - $this->persistence = $persistence; } public function generateId(): PostId diff --git a/Structural/Adapter/EBookAdapter.php b/Structural/Adapter/EBookAdapter.php index 59cacd3..e05f512 100644 --- a/Structural/Adapter/EBookAdapter.php +++ b/Structural/Adapter/EBookAdapter.php @@ -8,11 +8,8 @@ namespace DesignPatterns\Structural\Adapter; */ class EBookAdapter implements Book { - protected EBook $eBook; - - public function __construct(EBook $eBook) + public function __construct(protected EBook $eBook) { - $this->eBook = $eBook; } /** diff --git a/Structural/Bridge/Service.php b/Structural/Bridge/Service.php index 71b101d..360f007 100644 --- a/Structural/Bridge/Service.php +++ b/Structural/Bridge/Service.php @@ -4,11 +4,8 @@ namespace DesignPatterns\Structural\Bridge; abstract class Service { - protected Formatter $implementation; - - public function __construct(Formatter $printer) + public function __construct(protected Formatter $implementation) { - $this->implementation = $printer; } public function setImplementation(Formatter $printer) diff --git a/Structural/Composite/Form.php b/Structural/Composite/Form.php index 45e7fb7..bec1ccb 100644 --- a/Structural/Composite/Form.php +++ b/Structural/Composite/Form.php @@ -27,9 +27,7 @@ class Form implements Renderable $formCode .= $element->render(); } - $formCode .= ''; - - return $formCode; + return $formCode . ''; } public function addElement(Renderable $element) diff --git a/Structural/Composite/TextElement.php b/Structural/Composite/TextElement.php index 502f33a..4e9ad90 100644 --- a/Structural/Composite/TextElement.php +++ b/Structural/Composite/TextElement.php @@ -4,11 +4,8 @@ namespace DesignPatterns\Structural\Composite; class TextElement implements Renderable { - private string $text; - - public function __construct(string $text) + public function __construct(private string $text) { - $this->text = $text; } public function render(): string diff --git a/Structural/DataMapper/StorageAdapter.php b/Structural/DataMapper/StorageAdapter.php index b1fb16e..b7f04da 100644 --- a/Structural/DataMapper/StorageAdapter.php +++ b/Structural/DataMapper/StorageAdapter.php @@ -4,16 +4,11 @@ namespace DesignPatterns\Structural\DataMapper; class StorageAdapter { - private array $data = []; - - public function __construct(array $data) + public function __construct(private array $data) { - $this->data = $data; } /** - * @param int $id - * * @return array|null */ public function find(int $id) diff --git a/Structural/DataMapper/User.php b/Structural/DataMapper/User.php index 481c7d9..144a0dc 100644 --- a/Structural/DataMapper/User.php +++ b/Structural/DataMapper/User.php @@ -4,9 +4,6 @@ namespace DesignPatterns\Structural\DataMapper; class User { - private string $username; - private string $email; - public static function fromState(array $state): User { // validate state before accessing keys! @@ -17,12 +14,8 @@ class User ); } - public function __construct(string $username, string $email) + public function __construct(private string $username, private string $email) { - // validate parameters before setting them! - - $this->username = $username; - $this->email = $email; } public function getUsername(): string diff --git a/Structural/DataMapper/UserMapper.php b/Structural/DataMapper/UserMapper.php index 9bf6793..c3af100 100644 --- a/Structural/DataMapper/UserMapper.php +++ b/Structural/DataMapper/UserMapper.php @@ -6,11 +6,8 @@ use InvalidArgumentException; class UserMapper { - private StorageAdapter $adapter; - - public function __construct(StorageAdapter $storage) + public function __construct(private StorageAdapter $adapter) { - $this->adapter = $storage; } /** diff --git a/Structural/Decorator/BookingDecorator.php b/Structural/Decorator/BookingDecorator.php index 7eb160b..d2ce76e 100644 --- a/Structural/Decorator/BookingDecorator.php +++ b/Structural/Decorator/BookingDecorator.php @@ -4,10 +4,7 @@ namespace DesignPatterns\Structural\Decorator; abstract class BookingDecorator implements Booking { - protected Booking $booking; - - public function __construct(Booking $booking) + public function __construct(protected Booking $booking) { - $this->booking = $booking; } } diff --git a/Structural/DependencyInjection/DatabaseConfiguration.php b/Structural/DependencyInjection/DatabaseConfiguration.php index 33d9826..2713e0c 100644 --- a/Structural/DependencyInjection/DatabaseConfiguration.php +++ b/Structural/DependencyInjection/DatabaseConfiguration.php @@ -4,17 +4,12 @@ namespace DesignPatterns\Structural\DependencyInjection; class DatabaseConfiguration { - private string $host; - private int $port; - private string $username; - private string $password; - - public function __construct(string $host, int $port, string $username, string $password) - { - $this->host = $host; - $this->port = $port; - $this->username = $username; - $this->password = $password; + public function __construct( + private string $host, + private int $port, + private string $username, + private string $password + ) { } public function getHost(): string diff --git a/Structural/DependencyInjection/DatabaseConnection.php b/Structural/DependencyInjection/DatabaseConnection.php index 1ebb0b5..a63f91a 100644 --- a/Structural/DependencyInjection/DatabaseConnection.php +++ b/Structural/DependencyInjection/DatabaseConnection.php @@ -4,11 +4,8 @@ namespace DesignPatterns\Structural\DependencyInjection; class DatabaseConnection { - private DatabaseConfiguration $configuration; - - public function __construct(DatabaseConfiguration $config) + public function __construct(private DatabaseConfiguration $configuration) { - $this->configuration = $config; } public function getDsn(): string diff --git a/Structural/Facade/Facade.php b/Structural/Facade/Facade.php index d29d265..4f41cef 100644 --- a/Structural/Facade/Facade.php +++ b/Structural/Facade/Facade.php @@ -4,13 +4,8 @@ namespace DesignPatterns\Structural\Facade; class Facade { - private OperatingSystem $os; - private Bios $bios; - - public function __construct(Bios $bios, OperatingSystem $os) + public function __construct(private Bios $bios, private OperatingSystem $os) { - $this->bios = $bios; - $this->os = $os; } public function turnOn() diff --git a/Structural/FluentInterface/Sql.php b/Structural/FluentInterface/Sql.php index 45002c5..1056116 100644 --- a/Structural/FluentInterface/Sql.php +++ b/Structural/FluentInterface/Sql.php @@ -2,7 +2,7 @@ namespace DesignPatterns\Structural\FluentInterface; -class Sql +class Sql implements \Stringable { private array $fields = []; private array $from = []; diff --git a/Structural/Flyweight/Character.php b/Structural/Flyweight/Character.php index 6f53350..65b6ea0 100644 --- a/Structural/Flyweight/Character.php +++ b/Structural/Flyweight/Character.php @@ -12,11 +12,8 @@ class Character implements Text * Any state stored by the concrete flyweight must be independent of its context. * For flyweights representing characters, this is usually the corresponding character code. */ - private string $name; - - public function __construct(string $name) + public function __construct(private string $name) { - $this->name = $name; } public function render(string $font): string diff --git a/Structural/Flyweight/Word.php b/Structural/Flyweight/Word.php index 20b958e..77548bd 100644 --- a/Structural/Flyweight/Word.php +++ b/Structural/Flyweight/Word.php @@ -4,11 +4,8 @@ namespace DesignPatterns\Structural\Flyweight; class Word implements Text { - private string $name; - - public function __construct(string $name) + public function __construct(private string $name) { - $this->name = $name; } public function render(string $font): string diff --git a/Structural/Proxy/HeavyBankAccount.php b/Structural/Proxy/HeavyBankAccount.php index 773937e..6b5a23e 100644 --- a/Structural/Proxy/HeavyBankAccount.php +++ b/Structural/Proxy/HeavyBankAccount.php @@ -20,6 +20,6 @@ class HeavyBankAccount implements BankAccount // years and decades ago must be fetched from a database or web service // and the balance must be calculated from it - return (int) array_sum($this->transactions); + return array_sum($this->transactions); } } diff --git a/Structural/Registry/Tests/RegistryTest.php b/Structural/Registry/Tests/RegistryTest.php index ceed283..100170b 100644 --- a/Structural/Registry/Tests/RegistryTest.php +++ b/Structural/Registry/Tests/RegistryTest.php @@ -5,15 +5,11 @@ namespace DesignPatterns\Structural\Registry\Tests; use InvalidArgumentException; use DesignPatterns\Structural\Registry\Registry; use DesignPatterns\Structural\Registry\Service; -use PHPUnit\Framework\MockObject\MockObject; use PHPUnit\Framework\TestCase; class RegistryTest extends TestCase { - /** - * @var Service - */ - private MockObject $service; + private Service $service; protected function setUp(): void { diff --git a/composer.json b/composer.json index 04341e0..1c2f199 100644 --- a/composer.json +++ b/composer.json @@ -10,7 +10,7 @@ ], "minimum-stability": "stable", "require": { - "php": ">=7.4", + "php": ">=8.0", "psr/http-message": "^1.0", "ext-json": "*" }, @@ -18,7 +18,7 @@ "phpunit/phpunit": "^9", "squizlabs/php_codesniffer": "^3", "flyeralarm/php-code-validator": "^2.2", - "vimeo/psalm": "^3", + "vimeo/psalm": "^4", "psalm/plugin-phpunit": "*", "rector/rector": "*" }, diff --git a/composer.lock b/composer.lock index 131ce35..3ad8bb9 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "bd2151191f0d10c56e395e7b3a54b7de", + "content-hash": "40404fe777c8f5e94a46511a604ee3dc", "packages": [ { "name": "psr/http-message", @@ -152,16 +152,16 @@ }, { "name": "amphp/byte-stream", - "version": "v1.8.0", + "version": "v1.8.1", "source": { "type": "git", "url": "https://github.com/amphp/byte-stream.git", - "reference": "f0c20cf598a958ba2aa8c6e5a71c697d652c7088" + "reference": "acbd8002b3536485c997c4e019206b3f10ca15bd" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/amphp/byte-stream/zipball/f0c20cf598a958ba2aa8c6e5a71c697d652c7088", - "reference": "f0c20cf598a958ba2aa8c6e5a71c697d652c7088", + "url": "https://api.github.com/repos/amphp/byte-stream/zipball/acbd8002b3536485c997c4e019206b3f10ca15bd", + "reference": "acbd8002b3536485c997c4e019206b3f10ca15bd", "shasum": "" }, "require": { @@ -217,9 +217,15 @@ "support": { "irc": "irc://irc.freenode.org/amphp", "issues": "https://github.com/amphp/byte-stream/issues", - "source": "https://github.com/amphp/byte-stream/tree/master" + "source": "https://github.com/amphp/byte-stream/tree/v1.8.1" }, - "time": "2020-06-29T18:35:05+00:00" + "funding": [ + { + "url": "https://github.com/amphp", + "type": "github" + } + ], + "time": "2021-03-30T17:13:30+00:00" }, { "name": "composer/package-versions-deprecated", @@ -377,16 +383,16 @@ }, { "name": "composer/xdebug-handler", - "version": "1.4.5", + "version": "1.4.6", "source": { "type": "git", "url": "https://github.com/composer/xdebug-handler.git", - "reference": "f28d44c286812c714741478d968104c5e604a1d4" + "reference": "f27e06cd9675801df441b3656569b328e04aa37c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/xdebug-handler/zipball/f28d44c286812c714741478d968104c5e604a1d4", - "reference": "f28d44c286812c714741478d968104c5e604a1d4", + "url": "https://api.github.com/repos/composer/xdebug-handler/zipball/f27e06cd9675801df441b3656569b328e04aa37c", + "reference": "f27e06cd9675801df441b3656569b328e04aa37c", "shasum": "" }, "require": { @@ -394,7 +400,8 @@ "psr/log": "^1.0" }, "require-dev": { - "phpunit/phpunit": "^4.8.35 || ^5.7 || 6.5 - 8" + "phpstan/phpstan": "^0.12.55", + "symfony/phpunit-bridge": "^4.2 || ^5" }, "type": "library", "autoload": { @@ -420,7 +427,7 @@ "support": { "irc": "irc://irc.freenode.org/composer", "issues": "https://github.com/composer/xdebug-handler/issues", - "source": "https://github.com/composer/xdebug-handler/tree/1.4.5" + "source": "https://github.com/composer/xdebug-handler/tree/1.4.6" }, "funding": [ { @@ -436,7 +443,67 @@ "type": "tidelift" } ], - "time": "2020-11-13T08:04:11+00:00" + "time": "2021-03-25T17:01:18+00:00" + }, + { + "name": "danielstjules/stringy", + "version": "3.1.0", + "source": { + "type": "git", + "url": "https://github.com/danielstjules/Stringy.git", + "reference": "df24ab62d2d8213bbbe88cc36fc35a4503b4bd7e" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/danielstjules/Stringy/zipball/df24ab62d2d8213bbbe88cc36fc35a4503b4bd7e", + "reference": "df24ab62d2d8213bbbe88cc36fc35a4503b4bd7e", + "shasum": "" + }, + "require": { + "php": ">=5.4.0", + "symfony/polyfill-mbstring": "~1.1" + }, + "require-dev": { + "phpunit/phpunit": "~4.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "Stringy\\": "src/" + }, + "files": [ + "src/Create.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Daniel St. Jules", + "email": "danielst.jules@gmail.com", + "homepage": "http://www.danielstjules.com" + } + ], + "description": "A string manipulation library with multibyte support", + "homepage": "https://github.com/danielstjules/Stringy", + "keywords": [ + "UTF", + "helpers", + "manipulation", + "methods", + "multibyte", + "string", + "utf-8", + "utility", + "utils" + ], + "support": { + "issues": "https://github.com/danielstjules/Stringy/issues", + "source": "https://github.com/danielstjules/Stringy" + }, + "time": "2017-06-12T01:10:27+00:00" }, { "name": "dnoegel/php-xdg-base-dir", @@ -475,76 +542,6 @@ }, "time": "2019-12-04T15:06:13+00:00" }, - { - "name": "doctrine/annotations", - "version": "1.12.1", - "source": { - "type": "git", - "url": "https://github.com/doctrine/annotations.git", - "reference": "b17c5014ef81d212ac539f07a1001832df1b6d3b" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/doctrine/annotations/zipball/b17c5014ef81d212ac539f07a1001832df1b6d3b", - "reference": "b17c5014ef81d212ac539f07a1001832df1b6d3b", - "shasum": "" - }, - "require": { - "doctrine/lexer": "1.*", - "ext-tokenizer": "*", - "php": "^7.1 || ^8.0" - }, - "require-dev": { - "doctrine/cache": "1.*", - "doctrine/coding-standard": "^6.0 || ^8.1", - "phpstan/phpstan": "^0.12.20", - "phpunit/phpunit": "^7.5 || ^9.1.5" - }, - "type": "library", - "autoload": { - "psr-4": { - "Doctrine\\Common\\Annotations\\": "lib/Doctrine/Common/Annotations" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Guilherme Blanco", - "email": "guilhermeblanco@gmail.com" - }, - { - "name": "Roman Borschel", - "email": "roman@code-factory.org" - }, - { - "name": "Benjamin Eberlei", - "email": "kontakt@beberlei.de" - }, - { - "name": "Jonathan Wage", - "email": "jonwage@gmail.com" - }, - { - "name": "Johannes Schmitt", - "email": "schmittjoh@gmail.com" - } - ], - "description": "Docblock Annotations Parser", - "homepage": "https://www.doctrine-project.org/projects/annotations.html", - "keywords": [ - "annotations", - "docblock", - "parser" - ], - "support": { - "issues": "https://github.com/doctrine/annotations/issues", - "source": "https://github.com/doctrine/annotations/tree/1.12.1" - }, - "time": "2021-02-21T21:00:45+00:00" - }, { "name": "doctrine/inflector", "version": "2.0.3", @@ -709,86 +706,6 @@ ], "time": "2020-11-10T18:47:58+00:00" }, - { - "name": "doctrine/lexer", - "version": "1.2.1", - "source": { - "type": "git", - "url": "https://github.com/doctrine/lexer.git", - "reference": "e864bbf5904cb8f5bb334f99209b48018522f042" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/doctrine/lexer/zipball/e864bbf5904cb8f5bb334f99209b48018522f042", - "reference": "e864bbf5904cb8f5bb334f99209b48018522f042", - "shasum": "" - }, - "require": { - "php": "^7.2 || ^8.0" - }, - "require-dev": { - "doctrine/coding-standard": "^6.0", - "phpstan/phpstan": "^0.11.8", - "phpunit/phpunit": "^8.2" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.2.x-dev" - } - }, - "autoload": { - "psr-4": { - "Doctrine\\Common\\Lexer\\": "lib/Doctrine/Common/Lexer" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Guilherme Blanco", - "email": "guilhermeblanco@gmail.com" - }, - { - "name": "Roman Borschel", - "email": "roman@code-factory.org" - }, - { - "name": "Johannes Schmitt", - "email": "schmittjoh@gmail.com" - } - ], - "description": "PHP Doctrine Lexer parser library that can be used in Top-Down, Recursive Descent Parsers.", - "homepage": "https://www.doctrine-project.org/projects/lexer.html", - "keywords": [ - "annotations", - "docblock", - "lexer", - "parser", - "php" - ], - "support": { - "issues": "https://github.com/doctrine/lexer/issues", - "source": "https://github.com/doctrine/lexer/tree/1.2.1" - }, - "funding": [ - { - "url": "https://www.doctrine-project.org/sponsorship.html", - "type": "custom" - }, - { - "url": "https://www.patreon.com/phpdoctrine", - "type": "patreon" - }, - { - "url": "https://tidelift.com/funding/github/packagist/doctrine%2Flexer", - "type": "tidelift" - } - ], - "time": "2020-05-25T17:44:05+00:00" - }, { "name": "felixfbecker/advanced-json-rpc", "version": "v3.2.0", @@ -1100,6 +1017,77 @@ }, "time": "2020-04-16T18:48:43+00:00" }, + { + "name": "nette/caching", + "version": "v3.1.1", + "source": { + "type": "git", + "url": "https://github.com/nette/caching.git", + "reference": "3e771c589dee414724be473c24ad16dae50c1960" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/nette/caching/zipball/3e771c589dee414724be473c24ad16dae50c1960", + "reference": "3e771c589dee414724be473c24ad16dae50c1960", + "shasum": "" + }, + "require": { + "nette/finder": "^2.4 || ^3.0", + "nette/utils": "^2.4 || ^3.0", + "php": ">=7.2 <8.1" + }, + "require-dev": { + "latte/latte": "^2.10", + "nette/di": "^v3.0", + "nette/tester": "^2.0", + "phpstan/phpstan": "^0.12", + "tracy/tracy": "^2.4" + }, + "suggest": { + "ext-pdo_sqlite": "to use SQLiteStorage or SQLiteJournal" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.1-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause", + "GPL-2.0-only", + "GPL-3.0-only" + ], + "authors": [ + { + "name": "David Grudl", + "homepage": "https://davidgrudl.com" + }, + { + "name": "Nette Community", + "homepage": "https://nette.org/contributors" + } + ], + "description": "⏱ Nette Caching: library with easy-to-use API and many cache backends.", + "homepage": "https://nette.org", + "keywords": [ + "cache", + "journal", + "memcached", + "nette", + "sqlite" + ], + "support": { + "issues": "https://github.com/nette/caching/issues", + "source": "https://github.com/nette/caching/tree/v3.1.1" + }, + "time": "2021-03-06T14:07:38+00:00" + }, { "name": "nette/finder", "version": "v2.5.2", @@ -1764,16 +1752,16 @@ }, { "name": "phpspec/prophecy", - "version": "1.12.2", + "version": "1.13.0", "source": { "type": "git", "url": "https://github.com/phpspec/prophecy.git", - "reference": "245710e971a030f42e08f4912863805570f23d39" + "reference": "be1996ed8adc35c3fd795488a653f4b518be70ea" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpspec/prophecy/zipball/245710e971a030f42e08f4912863805570f23d39", - "reference": "245710e971a030f42e08f4912863805570f23d39", + "url": "https://api.github.com/repos/phpspec/prophecy/zipball/be1996ed8adc35c3fd795488a653f4b518be70ea", + "reference": "be1996ed8adc35c3fd795488a653f4b518be70ea", "shasum": "" }, "require": { @@ -1825,22 +1813,22 @@ ], "support": { "issues": "https://github.com/phpspec/prophecy/issues", - "source": "https://github.com/phpspec/prophecy/tree/1.12.2" + "source": "https://github.com/phpspec/prophecy/tree/1.13.0" }, - "time": "2020-12-19T10:15:11+00:00" + "time": "2021-03-17T13:42:18+00:00" }, { "name": "phpstan/phpdoc-parser", - "version": "0.4.12", + "version": "0.5.4", "source": { "type": "git", "url": "https://github.com/phpstan/phpdoc-parser.git", - "reference": "2e17e4a90702d8b7ead58f4e08478a8e819ba6b8" + "reference": "e352d065af1ae9b41c12d1dfd309e90f7b1f55c9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/2e17e4a90702d8b7ead58f4e08478a8e819ba6b8", - "reference": "2e17e4a90702d8b7ead58f4e08478a8e819ba6b8", + "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/e352d065af1ae9b41c12d1dfd309e90f7b1f55c9", + "reference": "e352d065af1ae9b41c12d1dfd309e90f7b1f55c9", "shasum": "" }, "require": { @@ -1858,7 +1846,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "0.4-dev" + "dev-master": "0.5-dev" } }, "autoload": { @@ -1875,22 +1863,22 @@ "description": "PHPDoc parser with support for nullable, intersection and generic types", "support": { "issues": "https://github.com/phpstan/phpdoc-parser/issues", - "source": "https://github.com/phpstan/phpdoc-parser/tree/0.4.12" + "source": "https://github.com/phpstan/phpdoc-parser/tree/0.5.4" }, - "time": "2021-02-28T14:30:10+00:00" + "time": "2021-04-03T14:46:19+00:00" }, { "name": "phpstan/phpstan", - "version": "0.12.81", + "version": "0.12.83", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan.git", - "reference": "0dd5b0ebeff568f7000022ea5f04aa86ad3124b8" + "reference": "4a967cec6efb46b500dd6d768657336a3ffe699f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/0dd5b0ebeff568f7000022ea5f04aa86ad3124b8", - "reference": "0dd5b0ebeff568f7000022ea5f04aa86ad3124b8", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/4a967cec6efb46b500dd6d768657336a3ffe699f", + "reference": "4a967cec6efb46b500dd6d768657336a3ffe699f", "shasum": "" }, "require": { @@ -1921,7 +1909,7 @@ "description": "PHPStan - PHP Static Analysis Tool", "support": { "issues": "https://github.com/phpstan/phpstan/issues", - "source": "https://github.com/phpstan/phpstan/tree/0.12.81" + "source": "https://github.com/phpstan/phpstan/tree/0.12.83" }, "funding": [ { @@ -1937,7 +1925,7 @@ "type": "tidelift" } ], - "time": "2021-03-08T22:03:02+00:00" + "time": "2021-04-03T15:35:45+00:00" }, { "name": "phpstan/phpstan-phpunit", @@ -1996,16 +1984,16 @@ }, { "name": "phpunit/php-code-coverage", - "version": "9.2.5", + "version": "9.2.6", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-code-coverage.git", - "reference": "f3e026641cc91909d421802dd3ac7827ebfd97e1" + "reference": "f6293e1b30a2354e8428e004689671b83871edde" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/f3e026641cc91909d421802dd3ac7827ebfd97e1", - "reference": "f3e026641cc91909d421802dd3ac7827ebfd97e1", + "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/f6293e1b30a2354e8428e004689671b83871edde", + "reference": "f6293e1b30a2354e8428e004689671b83871edde", "shasum": "" }, "require": { @@ -2061,7 +2049,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/php-code-coverage/issues", - "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.5" + "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.6" }, "funding": [ { @@ -2069,7 +2057,7 @@ "type": "github" } ], - "time": "2020-11-28T06:44:49+00:00" + "time": "2021-03-28T07:26:59+00:00" }, { "name": "phpunit/php-file-iterator", @@ -2314,16 +2302,16 @@ }, { "name": "phpunit/phpunit", - "version": "9.5.2", + "version": "9.5.4", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "f661659747f2f87f9e72095bb207bceb0f151cb4" + "reference": "c73c6737305e779771147af66c96ca6a7ed8a741" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/f661659747f2f87f9e72095bb207bceb0f151cb4", - "reference": "f661659747f2f87f9e72095bb207bceb0f151cb4", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/c73c6737305e779771147af66c96ca6a7ed8a741", + "reference": "c73c6737305e779771147af66c96ca6a7ed8a741", "shasum": "" }, "require": { @@ -2401,7 +2389,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/phpunit/issues", - "source": "https://github.com/sebastianbergmann/phpunit/tree/9.5.2" + "source": "https://github.com/sebastianbergmann/phpunit/tree/9.5.4" }, "funding": [ { @@ -2413,34 +2401,38 @@ "type": "github" } ], - "time": "2021-02-02T14:45:58+00:00" + "time": "2021-03-23T07:16:29+00:00" }, { "name": "psalm/plugin-phpunit", - "version": "0.12.2", + "version": "0.15.1", "source": { "type": "git", "url": "https://github.com/psalm/psalm-plugin-phpunit.git", - "reference": "85ee5a080a5281e63085d933b30a06b1b1680758" + "reference": "30ca25ce069bf4943c36e59b7df6954f6af05e64" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/psalm/psalm-plugin-phpunit/zipball/85ee5a080a5281e63085d933b30a06b1b1680758", - "reference": "85ee5a080a5281e63085d933b30a06b1b1680758", + "url": "https://api.github.com/repos/psalm/psalm-plugin-phpunit/zipball/30ca25ce069bf4943c36e59b7df6954f6af05e64", + "reference": "30ca25ce069bf4943c36e59b7df6954f6af05e64", "shasum": "" }, "require": { "composer/package-versions-deprecated": "^1.10", "composer/semver": "^1.4 || ^2.0 || ^3.0", "ext-simplexml": "*", - "php": "^7.1.3 || ^8.0", - "phpunit/phpunit": "^7.5 || ^8.0 || ^9.0", - "vimeo/psalm": "^3.6.2 || dev-master || dev-4.x" + "php": "^7.1 || ^8.0", + "vimeo/psalm": "dev-master || dev-4.x || ^4.0" + }, + "conflict": { + "phpunit/phpunit": "<7.5" }, "require-dev": { "codeception/codeception": "^4.0.3", + "php": "^7.3 || ^8.0", + "phpunit/phpunit": "^7.5 || ^8.0 || ^9.0", "squizlabs/php_codesniffer": "^3.3.1", - "weirdan/codeception-psalm-module": "^0.7.1", + "weirdan/codeception-psalm-module": "^0.11.0", "weirdan/prophecy-shim": "^1.0 || ^2.0" }, "type": "psalm-plugin", @@ -2467,58 +2459,9 @@ "description": "Psalm plugin for PHPUnit", "support": { "issues": "https://github.com/psalm/psalm-plugin-phpunit/issues", - "source": "https://github.com/psalm/psalm-plugin-phpunit/tree/0.12.2" + "source": "https://github.com/psalm/psalm-plugin-phpunit/tree/0.15.1" }, - "time": "2020-09-28T17:25:39+00:00" - }, - { - "name": "psr/cache", - "version": "1.0.1", - "source": { - "type": "git", - "url": "https://github.com/php-fig/cache.git", - "reference": "d11b50ad223250cf17b86e38383413f5a6764bf8" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/cache/zipball/d11b50ad223250cf17b86e38383413f5a6764bf8", - "reference": "d11b50ad223250cf17b86e38383413f5a6764bf8", - "shasum": "" - }, - "require": { - "php": ">=5.3.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\Cache\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "http://www.php-fig.org/" - } - ], - "description": "Common interface for caching libraries", - "keywords": [ - "cache", - "psr", - "psr-6" - ], - "support": { - "source": "https://github.com/php-fig/cache/tree/master" - }, - "time": "2016-08-06T20:24:11+00:00" + "time": "2021-01-23T00:19:07+00:00" }, { "name": "psr/container", @@ -2668,228 +2611,98 @@ }, "time": "2020-03-23T09:12:05+00:00" }, - { - "name": "psr/simple-cache", - "version": "1.0.1", - "source": { - "type": "git", - "url": "https://github.com/php-fig/simple-cache.git", - "reference": "408d5eafb83c57f6365a3ca330ff23aa4a5fa39b" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/simple-cache/zipball/408d5eafb83c57f6365a3ca330ff23aa4a5fa39b", - "reference": "408d5eafb83c57f6365a3ca330ff23aa4a5fa39b", - "shasum": "" - }, - "require": { - "php": ">=5.3.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\SimpleCache\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "http://www.php-fig.org/" - } - ], - "description": "Common interfaces for simple caching", - "keywords": [ - "cache", - "caching", - "psr", - "psr-16", - "simple-cache" - ], - "support": { - "source": "https://github.com/php-fig/simple-cache/tree/master" - }, - "time": "2017-10-23T01:57:42+00:00" - }, { "name": "rector/rector", - "version": "0.9.31", + "version": "0.10.4", "source": { "type": "git", "url": "https://github.com/rectorphp/rector.git", - "reference": "cbbd008f50e3365bc48ddc74ba0d9190854a8fb3" + "reference": "3e4e9387c6de66f532b41800dceed697380fd85a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/rectorphp/rector/zipball/cbbd008f50e3365bc48ddc74ba0d9190854a8fb3", - "reference": "cbbd008f50e3365bc48ddc74ba0d9190854a8fb3", + "url": "https://api.github.com/repos/rectorphp/rector/zipball/3e4e9387c6de66f532b41800dceed697380fd85a", + "reference": "3e4e9387c6de66f532b41800dceed697380fd85a", "shasum": "" }, "require": { "composer/semver": "^3.2", "composer/xdebug-handler": "^1.4", - "doctrine/annotations": "^1.11", + "danielstjules/stringy": "^3.1", "doctrine/inflector": "^2.0", "ext-dom": "*", "ext-json": "*", "jean85/pretty-package-versions": "^1.5.1|^2.0.1", - "nette/robot-loader": "^3.2", + "nette/caching": "^3.1", + "nette/robot-loader": "^3.4", "nette/utils": "^3.2", "nikic/php-parser": "^4.10.4", "php": "^7.3|^8.0", - "phpstan/phpdoc-parser": "^0.4.9", - "phpstan/phpstan": "^0.12.76", - "phpstan/phpstan-phpunit": "^0.12.17", - "psr/simple-cache": "^1.0", + "phpstan/phpdoc-parser": "^0.5.4", + "phpstan/phpstan": "^0.12.83", + "phpstan/phpstan-phpunit": "^0.12.18", + "rector/rector-cakephp": "^0.10.3", + "rector/rector-doctrine": "^0.10.2", + "rector/rector-laravel": "^0.10.1", + "rector/rector-nette": "^0.10.5", + "rector/rector-phpunit": "^0.10.6", + "rector/rector-symfony": "^0.10.3", "sebastian/diff": "^4.0.4", - "symfony/cache": "^4.4.8|^5.1", "symfony/console": "^4.4.8|^5.1", "symfony/dependency-injection": "^5.1", - "symfony/expression-language": "^4.4.8|^5.1", "symfony/finder": "^4.4.8|^5.1", "symfony/http-kernel": "^4.4.8|^5.1", "symfony/process": "^4.4.8|^5.1", - "symplify/astral": "^9.1.9", - "symplify/autowire-array-parameter": "^9.1.9", - "symplify/console-color-diff": "^9.1.9", - "symplify/package-builder": "^9.1.9", - "symplify/rule-doc-generator": "^9.1.9", - "symplify/set-config-resolver": "^9.1.9", - "symplify/simple-php-doc-parser": "^9.1.9", - "symplify/skipper": "^9.1.9", - "symplify/smart-file-system": "^9.1.9", - "symplify/symfony-php-config": "^9.1.9", - "webmozart/assert": "^1.9" + "symfony/uid": "^4.4.8|^5.1", + "symplify/astral": "^9.2.15", + "symplify/autowire-array-parameter": "^9.2.15", + "symplify/console-color-diff": "^9.2.15", + "symplify/package-builder": "^9.2.15", + "symplify/rule-doc-generator-contracts": "^9.2.15", + "symplify/set-config-resolver": "^9.2.15", + "symplify/simple-php-doc-parser": "^9.2.15", + "symplify/skipper": "^9.2.15", + "symplify/smart-file-system": "^9.2.15", + "symplify/symfony-php-config": "^9.2.15", + "webmozart/assert": "^1.10" }, "replace": { "rector/rector-prefixed": "self.version" }, "require-dev": { - "friendsofphp/php-cs-fixer": "^2.18.2", + "friendsofphp/php-cs-fixer": "^2.18.3", "nette/application": "^3.0.7", "nette/di": "^3.0", "nette/forms": "^3.0", - "ocramius/package-versions": "^1.9", - "php-parallel-lint/php-parallel-lint": "^1.2", - "phpstan/phpstan-nette": "^0.12.14", + "phpstan/phpstan-nette": "^0.12.16", "phpunit/phpunit": "^9.5", - "symfony/security-core": "^5.2", - "symfony/security-http": "^5.2", - "symplify/changelog-linker": "^9.1.9", - "symplify/coding-standard": "^9.1.9", - "symplify/easy-ci": "^9.1.0", - "symplify/easy-coding-standard": "^9.1.9", - "symplify/easy-testing": "^9.1.9", - "symplify/phpstan-extensions": "^9.1.9", - "symplify/phpstan-rules": "^9.1.9", + "rector/rector-generator": "^0.1.5", + "symplify/coding-standard": "^9.2.15", + "symplify/easy-ci": "^9.2.15", + "symplify/easy-coding-standard": "^9.2.15", + "symplify/easy-testing": "^9.2.15", + "symplify/phpstan-extensions": "^9.2.15", + "symplify/phpstan-rules": "^9.2", + "symplify/rule-doc-generator": "^9.2.15", "tracy/tracy": "^2.8" }, "bin": [ "bin/rector" ], "type": "library", + "extra": { + "branch-alias": { + "dev-main": "0.10-dev" + } + }, "autoload": { "psr-4": { - "Rector\\Testing\\": "packages/testing/src", - "Rector\\Comments\\": "packages/comments/src", - "Rector\\AttributeAwarePhpDoc\\": "packages/attribute-aware-php-doc/src", - "Rector\\Autodiscovery\\": "rules/autodiscovery/src", - "Rector\\BetterPhpDocParser\\": "packages/better-php-doc-parser/src", - "Rector\\Caching\\": "packages/caching/src", - "Rector\\CakePHP\\": "rules/cakephp/src", - "Rector\\ChangesReporting\\": "packages/changes-reporting/src", - "Rector\\CodeQuality\\": "rules/code-quality/src", - "Rector\\CodingStyle\\": "rules/coding-style/src", - "Rector\\Composer\\": "rules/composer/src", + "Rector\\": [ + "packages", + "rules" + ], "Rector\\Core\\": "src", - "Rector\\DeadCode\\": "rules/dead-code/src", - "Rector\\DependencyInjection\\": "rules/dependency-injection/src", - "Rector\\EarlyReturn\\": "rules/early-return/src", - "Rector\\DeadDocBlock\\": "rules/dead-doc-block/src", - "Rector\\DoctrineAnnotationGenerated\\": "packages/doctrine-annotation-generated/src", - "Rector\\DoctrineCodeQuality\\": "rules/doctrine-code-quality/src", - "Rector\\DoctrineGedmoToKnplabs\\": "rules/doctrine-gedmo-to-knplabs/src", - "Rector\\Doctrine\\": "rules/doctrine/src", - "Rector\\DowngradePhp70\\": "rules/downgrade-php70/src", - "Rector\\DowngradePhp71\\": "rules/downgrade-php71/src", - "Rector\\DowngradePhp72\\": "rules/downgrade-php72/src", - "Rector\\DowngradePhp73\\": "rules/downgrade-php73/src", - "Rector\\ReadWrite\\": "packages/read-write/src", - "Rector\\DowngradePhp74\\": "rules/downgrade-php74/src", - "Rector\\DowngradePhp80\\": "rules/downgrade-php80/src", - "Rector\\FamilyTree\\": "packages/family-tree/src", - "Rector\\FileSystemRector\\": "packages/file-system-rector/src", - "Rector\\Arguments\\": "rules/arguments/src", - "Rector\\Laravel\\": "rules/laravel/src", - "Rector\\Legacy\\": "rules/legacy/src", - "Rector\\MockeryToProphecy\\": "rules/mockery-to-prophecy/src", - "Rector\\MockistaToMockery\\": "rules/mockista-to-mockery/src", - "Rector\\MysqlToMysqli\\": "rules/mysql-to-mysqli/src", - "Rector\\Naming\\": "rules/naming/src", - "Rector\\NetteCodeQuality\\": "rules/nette-code-quality/src", - "Rector\\NetteKdyby\\": "rules/nette-kdyby/src", - "Rector\\NetteTesterToPHPUnit\\": "rules/nette-tester-to-phpunit/src", - "Rector\\NetteToSymfony\\": "rules/nette-to-symfony/src", - "Rector\\NetteUtilsCodeQuality\\": "rules/nette-utils-code-quality/src", - "Rector\\Nette\\": "rules/nette/src", - "Rector\\Defluent\\": "rules/defluent/src", - "Rector\\NodeCollector\\": "packages/node-collector/src", - "Rector\\NodeNameResolver\\": "packages/node-name-resolver/src", - "Rector\\NodeNestingScope\\": "packages/node-nesting-scope/src", - "Rector\\NodeRemoval\\": "packages/node-removal/src", - "Rector\\NodeTypeResolver\\": "packages/node-type-resolver/src", - "Rector\\Order\\": "rules/order/src", - "Rector\\PHPOffice\\": "rules/php-office/src", - "Rector\\PHPStanStaticTypeMapper\\": "packages/phpstan-static-type-mapper/src", - "Rector\\PHPUnitSymfony\\": "rules/phpunit-symfony/src", - "Rector\\PHPUnit\\": "rules/phpunit/src", - "Rector\\PSR4\\": "rules/psr4/src", - "Rector\\Php52\\": "rules/php52/src", - "Rector\\Php53\\": "rules/php53/src", - "Rector\\Php54\\": "rules/php54/src", - "Rector\\Php55\\": "rules/php55/src", - "Rector\\Php56\\": "rules/php56/src", - "Rector\\Php70\\": "rules/php70/src", - "Rector\\Php71\\": "rules/php71/src", - "Rector\\Php72\\": "rules/php72/src", - "Rector\\Php73\\": "rules/php73/src", - "Rector\\Php74\\": "rules/php74/src", - "Rector\\Php80\\": "rules/php80/src", - "Rector\\PhpAttribute\\": "packages/php-attribute/src", - "Rector\\PhpSpecToPHPUnit\\": "rules/php-spec-to-phpunit/src", - "Rector\\Compiler\\": "utils/compiler/src", - "Rector\\PostRector\\": "packages/post-rector/src", - "Rector\\Visibility\\": "rules/visibility/src", - "Rector\\Removing\\": "rules/removing/src", - "Rector\\Privatization\\": "rules/privatization/src", - "Rector\\RectorGenerator\\": "packages/rector-generator/src", - "Rector\\RemovingStatic\\": "rules/removing-static/src", - "Rector\\Renaming\\": "rules/renaming/src", - "Rector\\Restoration\\": "rules/restoration/src", - "Rector\\Sensio\\": "rules/sensio/src", - "Rector\\Set\\": "packages/set/src", - "Rector\\StaticTypeMapper\\": "packages/static-type-mapper/src", - "Rector\\CodeQualityStrict\\": "rules/code-quality-strict/src", - "Rector\\SymfonyCodeQuality\\": "rules/symfony-code-quality/src", - "Rector\\SymfonyPhpConfig\\": "rules/symfony-php-config/src", - "Rector\\Symfony\\": "rules/symfony/src", - "Rector\\Symfony2\\": "rules/symfony2/src", - "Rector\\Symfony3\\": "rules/symfony3/src", - "Rector\\Symfony4\\": "rules/symfony4/src", - "Rector\\Symfony5\\": "rules/symfony5/src", - "Rector\\Transform\\": "rules/transform/src", - "Rector\\TypeDeclaration\\": "rules/type-declaration/src", - "Rector\\VendorLocker\\": "packages/vendor-locker/src", - "Rector\\Carbon\\": "rules/carbon/src", - "Rector\\Generics\\": "rules/generics/src" + "Rector\\Compiler\\": "utils/compiler/src" } }, "notification-url": "https://packagist.org/downloads/", @@ -2918,7 +2731,7 @@ ], "support": { "issues": "https://github.com/rectorphp/rector/issues", - "source": "https://github.com/rectorphp/rector/tree/0.9.31" + "source": "https://github.com/rectorphp/rector/tree/0.10.4" }, "funding": [ { @@ -2926,7 +2739,321 @@ "type": "github" } ], - "time": "2021-02-22T10:01:01+00:00" + "time": "2021-04-09T16:27:12+00:00" + }, + { + "name": "rector/rector-cakephp", + "version": "0.10.3", + "source": { + "type": "git", + "url": "https://github.com/rectorphp/rector-cakephp.git", + "reference": "25cfd2b68c2c995e79d61a241d74d5adebe57538" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/rectorphp/rector-cakephp/zipball/25cfd2b68c2c995e79d61a241d74d5adebe57538", + "reference": "25cfd2b68c2c995e79d61a241d74d5adebe57538", + "shasum": "" + }, + "require": { + "ext-xml": "*", + "php": ">=7.3", + "rector/rector": "^0.10.4" + }, + "conflict": { + "rector/rector": "<=0.10.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.5", + "symplify/easy-coding-standard": "^9.2", + "symplify/phpstan-extensions": "^9.2", + "symplify/phpstan-rules": "^9.2", + "symplify/rule-doc-generator": "^9.2" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "0.10-dev" + } + }, + "autoload": { + "psr-4": { + "Rector\\CakePHP\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "Rector upgrades rules for CakePHP", + "support": { + "issues": "https://github.com/rectorphp/rector-cakephp/issues", + "source": "https://github.com/rectorphp/rector-cakephp/tree/0.10.3" + }, + "time": "2021-04-09T16:20:32+00:00" + }, + { + "name": "rector/rector-doctrine", + "version": "0.10.2", + "source": { + "type": "git", + "url": "https://github.com/rectorphp/rector-doctrine.git", + "reference": "3d22958431fdeca89388667a9caec52bb0eb9832" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/rectorphp/rector-doctrine/zipball/3d22958431fdeca89388667a9caec52bb0eb9832", + "reference": "3d22958431fdeca89388667a9caec52bb0eb9832", + "shasum": "" + }, + "require": { + "php": ">=7.3", + "rector/rector": "^0.10.4" + }, + "conflict": { + "rector/rector": "<=0.10.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.5", + "symplify/easy-coding-standard": "^9.2", + "symplify/phpstan-extensions": "^9.2", + "symplify/phpstan-rules": "^9.2", + "symplify/rule-doc-generator": "^9.2", + "tracy/tracy": "^2.8" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "0.10-dev" + } + }, + "autoload": { + "psr-4": { + "Rector\\Doctrine\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "Rector upgrades rules for Doctrine", + "support": { + "issues": "https://github.com/rectorphp/rector-doctrine/issues", + "source": "https://github.com/rectorphp/rector-doctrine/tree/0.10.2" + }, + "time": "2021-04-09T16:18:49+00:00" + }, + { + "name": "rector/rector-laravel", + "version": "0.10.1", + "source": { + "type": "git", + "url": "https://github.com/rectorphp/rector-laravel.git", + "reference": "d821ae834d7311c92fde91b12d6293c3590c9c5a" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/rectorphp/rector-laravel/zipball/d821ae834d7311c92fde91b12d6293c3590c9c5a", + "reference": "d821ae834d7311c92fde91b12d6293c3590c9c5a", + "shasum": "" + }, + "require": { + "php": ">=7.3", + "rector/rector": "^0.10" + }, + "conflict": { + "rector/rector": "<=0.10.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.5", + "symplify/easy-coding-standard": "^9.2", + "symplify/phpstan-extensions": "^9.2", + "symplify/phpstan-rules": "^9.2", + "symplify/rule-doc-generator": "^9.2", + "tracy/tracy": "^2.8" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "0.10-dev" + } + }, + "autoload": { + "psr-4": { + "Rector\\Laravel\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "Rector upgrades rules for Laravel Framework", + "support": { + "issues": "https://github.com/rectorphp/rector-laravel/issues", + "source": "https://github.com/rectorphp/rector-laravel/tree/0.10.1" + }, + "time": "2021-04-05T10:56:24+00:00" + }, + { + "name": "rector/rector-nette", + "version": "0.10.5", + "source": { + "type": "git", + "url": "https://github.com/rectorphp/rector-nette.git", + "reference": "ada32a577959df278cddce1da7251bf565028853" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/rectorphp/rector-nette/zipball/ada32a577959df278cddce1da7251bf565028853", + "reference": "ada32a577959df278cddce1da7251bf565028853", + "shasum": "" + }, + "require": { + "ext-xml": "*", + "php": ">=7.3", + "rector/rector": "^0.10" + }, + "conflict": { + "rector/rector": "<=0.10.3" + }, + "require-dev": { + "nette/application": "^3.0.7", + "nette/di": "^3.0", + "nette/forms": "3.0.*", + "phpstan/phpstan-nette": "^0.12.16", + "phpunit/phpunit": "^9.5", + "symplify/easy-coding-standard": "^9.2", + "symplify/phpstan-extensions": "^9.2", + "symplify/phpstan-rules": "^9.2", + "symplify/rule-doc-generator": "^9.2", + "tracy/tracy": "^2.8" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "0.10-dev" + } + }, + "autoload": { + "psr-4": { + "Rector\\Nette\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "Rector upgrades rules for Nette Framework", + "support": { + "issues": "https://github.com/rectorphp/rector-nette/issues", + "source": "https://github.com/rectorphp/rector-nette/tree/0.10.5" + }, + "time": "2021-04-09T12:10:59+00:00" + }, + { + "name": "rector/rector-phpunit", + "version": "0.10.6", + "source": { + "type": "git", + "url": "https://github.com/rectorphp/rector-phpunit.git", + "reference": "bafe2fa86b30739a0defb87041145b9f5f0a7db1" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/rectorphp/rector-phpunit/zipball/bafe2fa86b30739a0defb87041145b9f5f0a7db1", + "reference": "bafe2fa86b30739a0defb87041145b9f5f0a7db1", + "shasum": "" + }, + "require": { + "php": ">=7.3", + "rector/rector": "^0.10.4" + }, + "conflict": { + "rector/rector": "<=0.10.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.5", + "symplify/easy-coding-standard": "^9.2", + "symplify/phpstan-extensions": "^9.2", + "symplify/phpstan-rules": "^9.2", + "symplify/rule-doc-generator": "^9.2", + "tracy/tracy": "^2.8" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "0.10-dev" + } + }, + "autoload": { + "psr-4": { + "Rector\\PHPUnit\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "Rector upgrades rules for PHPUnit", + "support": { + "issues": "https://github.com/rectorphp/rector-phpunit/issues", + "source": "https://github.com/rectorphp/rector-phpunit/tree/0.10.6" + }, + "time": "2021-04-09T16:21:05+00:00" + }, + { + "name": "rector/rector-symfony", + "version": "0.10.3", + "source": { + "type": "git", + "url": "https://github.com/rectorphp/rector-symfony.git", + "reference": "32cdf3f3e78a0afaecaf8c3c89fd0b7b78072aab" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/rectorphp/rector-symfony/zipball/32cdf3f3e78a0afaecaf8c3c89fd0b7b78072aab", + "reference": "32cdf3f3e78a0afaecaf8c3c89fd0b7b78072aab", + "shasum": "" + }, + "require": { + "ext-xml": "*", + "php": ">=7.3", + "rector/rector": "^0.10.4" + }, + "conflict": { + "rector/rector": "<=0.10.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.5", + "symfony/security-core": "^5.2", + "symfony/security-http": "^5.2", + "symplify/easy-coding-standard": "^9.2", + "symplify/phpstan-extensions": "^9.2", + "symplify/phpstan-rules": "^9.2", + "symplify/rule-doc-generator": "^9.2", + "tracy/tracy": "^2.8" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "0.10-dev" + } + }, + "autoload": { + "psr-4": { + "Rector\\Symfony\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "Rector upgrades rules for Symfony Framework", + "support": { + "issues": "https://github.com/rectorphp/rector-symfony/issues", + "source": "https://github.com/rectorphp/rector-symfony/tree/0.10.3" + }, + "time": "2021-04-09T16:19:49+00:00" }, { "name": "sebastian/cli-parser", @@ -3894,16 +4021,16 @@ }, { "name": "squizlabs/php_codesniffer", - "version": "3.5.8", + "version": "3.6.0", "source": { "type": "git", "url": "https://github.com/squizlabs/PHP_CodeSniffer.git", - "reference": "9d583721a7157ee997f235f327de038e7ea6dac4" + "reference": "ffced0d2c8fa8e6cdc4d695a743271fab6c38625" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/9d583721a7157ee997f235f327de038e7ea6dac4", - "reference": "9d583721a7157ee997f235f327de038e7ea6dac4", + "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/ffced0d2c8fa8e6cdc4d695a743271fab6c38625", + "reference": "ffced0d2c8fa8e6cdc4d695a743271fab6c38625", "shasum": "" }, "require": { @@ -3946,181 +4073,7 @@ "source": "https://github.com/squizlabs/PHP_CodeSniffer", "wiki": "https://github.com/squizlabs/PHP_CodeSniffer/wiki" }, - "time": "2020-10-23T02:01:07+00:00" - }, - { - "name": "symfony/cache", - "version": "v5.2.4", - "source": { - "type": "git", - "url": "https://github.com/symfony/cache.git", - "reference": "d15fb2576cdbe2c40d7c851e62f85b0faff3dd3d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/cache/zipball/d15fb2576cdbe2c40d7c851e62f85b0faff3dd3d", - "reference": "d15fb2576cdbe2c40d7c851e62f85b0faff3dd3d", - "shasum": "" - }, - "require": { - "php": ">=7.2.5", - "psr/cache": "^1.0|^2.0", - "psr/log": "^1.1", - "symfony/cache-contracts": "^1.1.7|^2", - "symfony/polyfill-php80": "^1.15", - "symfony/service-contracts": "^1.1|^2", - "symfony/var-exporter": "^4.4|^5.0" - }, - "conflict": { - "doctrine/dbal": "<2.10", - "symfony/dependency-injection": "<4.4", - "symfony/http-kernel": "<4.4", - "symfony/var-dumper": "<4.4" - }, - "provide": { - "psr/cache-implementation": "1.0|2.0", - "psr/simple-cache-implementation": "1.0", - "symfony/cache-implementation": "1.0|2.0" - }, - "require-dev": { - "cache/integration-tests": "dev-master", - "doctrine/cache": "^1.6", - "doctrine/dbal": "^2.10|^3.0", - "predis/predis": "^1.1", - "psr/simple-cache": "^1.0", - "symfony/config": "^4.4|^5.0", - "symfony/dependency-injection": "^4.4|^5.0", - "symfony/filesystem": "^4.4|^5.0", - "symfony/http-kernel": "^4.4|^5.0", - "symfony/messenger": "^4.4|^5.0", - "symfony/var-dumper": "^4.4|^5.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "Symfony\\Component\\Cache\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Provides an extended PSR-6, PSR-16 (and tags) implementation", - "homepage": "https://symfony.com", - "keywords": [ - "caching", - "psr6" - ], - "support": { - "source": "https://github.com/symfony/cache/tree/v5.2.4" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2021-02-25T23:54:56+00:00" - }, - { - "name": "symfony/cache-contracts", - "version": "v2.2.0", - "source": { - "type": "git", - "url": "https://github.com/symfony/cache-contracts.git", - "reference": "8034ca0b61d4dd967f3698aaa1da2507b631d0cb" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/cache-contracts/zipball/8034ca0b61d4dd967f3698aaa1da2507b631d0cb", - "reference": "8034ca0b61d4dd967f3698aaa1da2507b631d0cb", - "shasum": "" - }, - "require": { - "php": ">=7.2.5", - "psr/cache": "^1.0" - }, - "suggest": { - "symfony/cache-implementation": "" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.2-dev" - }, - "thanks": { - "name": "symfony/contracts", - "url": "https://github.com/symfony/contracts" - } - }, - "autoload": { - "psr-4": { - "Symfony\\Contracts\\Cache\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Generic abstractions related to caching", - "homepage": "https://symfony.com", - "keywords": [ - "abstractions", - "contracts", - "decoupling", - "interfaces", - "interoperability", - "standards" - ], - "support": { - "source": "https://github.com/symfony/cache-contracts/tree/v2.2.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2020-09-07T11:33:47+00:00" + "time": "2021-04-09T00:54:41+00:00" }, { "name": "symfony/config", @@ -4202,16 +4155,16 @@ }, { "name": "symfony/console", - "version": "v5.2.5", + "version": "v5.2.6", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "938ebbadae1b0a9c9d1ec313f87f9708609f1b79" + "reference": "35f039df40a3b335ebf310f244cb242b3a83ac8d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/938ebbadae1b0a9c9d1ec313f87f9708609f1b79", - "reference": "938ebbadae1b0a9c9d1ec313f87f9708609f1b79", + "url": "https://api.github.com/repos/symfony/console/zipball/35f039df40a3b335ebf310f244cb242b3a83ac8d", + "reference": "35f039df40a3b335ebf310f244cb242b3a83ac8d", "shasum": "" }, "require": { @@ -4279,7 +4232,7 @@ "terminal" ], "support": { - "source": "https://github.com/symfony/console/tree/v5.2.5" + "source": "https://github.com/symfony/console/tree/v5.2.6" }, "funding": [ { @@ -4295,20 +4248,20 @@ "type": "tidelift" } ], - "time": "2021-03-06T13:42:15+00:00" + "time": "2021-03-28T09:42:18+00:00" }, { "name": "symfony/dependency-injection", - "version": "v5.2.5", + "version": "v5.2.6", "source": { "type": "git", "url": "https://github.com/symfony/dependency-injection.git", - "reference": "be0c7926f5729b15e4e79fd2bf917cac584b1970" + "reference": "1e66194bed2a69fa395d26bf1067e5e34483afac" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/dependency-injection/zipball/be0c7926f5729b15e4e79fd2bf917cac584b1970", - "reference": "be0c7926f5729b15e4e79fd2bf917cac584b1970", + "url": "https://api.github.com/repos/symfony/dependency-injection/zipball/1e66194bed2a69fa395d26bf1067e5e34483afac", + "reference": "1e66194bed2a69fa395d26bf1067e5e34483afac", "shasum": "" }, "require": { @@ -4366,7 +4319,7 @@ "description": "Allows you to standardize and centralize the way objects are constructed in your application", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/dependency-injection/tree/v5.2.5" + "source": "https://github.com/symfony/dependency-injection/tree/v5.2.6" }, "funding": [ { @@ -4382,7 +4335,7 @@ "type": "tidelift" } ], - "time": "2021-03-05T20:13:41+00:00" + "time": "2021-03-22T11:10:24+00:00" }, { "name": "symfony/deprecation-contracts", @@ -4453,16 +4406,16 @@ }, { "name": "symfony/error-handler", - "version": "v5.2.4", + "version": "v5.2.6", "source": { "type": "git", "url": "https://github.com/symfony/error-handler.git", - "reference": "b547d3babcab5c31e01de59ee33e9d9c1421d7d0" + "reference": "bdb7fb4188da7f4211e4b88350ba0dfdad002b03" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/error-handler/zipball/b547d3babcab5c31e01de59ee33e9d9c1421d7d0", - "reference": "b547d3babcab5c31e01de59ee33e9d9c1421d7d0", + "url": "https://api.github.com/repos/symfony/error-handler/zipball/bdb7fb4188da7f4211e4b88350ba0dfdad002b03", + "reference": "bdb7fb4188da7f4211e4b88350ba0dfdad002b03", "shasum": "" }, "require": { @@ -4502,7 +4455,7 @@ "description": "Provides tools to manage errors and ease debugging PHP code", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/error-handler/tree/v5.2.4" + "source": "https://github.com/symfony/error-handler/tree/v5.2.6" }, "funding": [ { @@ -4518,7 +4471,7 @@ "type": "tidelift" } ], - "time": "2021-02-11T08:21:20+00:00" + "time": "2021-03-16T09:07:47+00:00" }, { "name": "symfony/event-dispatcher", @@ -4684,82 +4637,18 @@ ], "time": "2020-09-07T11:33:47+00:00" }, - { - "name": "symfony/expression-language", - "version": "v5.2.4", - "source": { - "type": "git", - "url": "https://github.com/symfony/expression-language.git", - "reference": "3fc560e62bc5121751b792b11505db03a12cf83c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/expression-language/zipball/3fc560e62bc5121751b792b11505db03a12cf83c", - "reference": "3fc560e62bc5121751b792b11505db03a12cf83c", - "shasum": "" - }, - "require": { - "php": ">=7.2.5", - "symfony/cache": "^4.4|^5.0", - "symfony/polyfill-php80": "^1.15", - "symfony/service-contracts": "^1.1|^2" - }, - "type": "library", - "autoload": { - "psr-4": { - "Symfony\\Component\\ExpressionLanguage\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Provides an engine that can compile and evaluate expressions", - "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/expression-language/tree/v5.2.4" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2021-02-12T10:38:38+00:00" - }, { "name": "symfony/filesystem", - "version": "v5.2.4", + "version": "v5.2.6", "source": { "type": "git", "url": "https://github.com/symfony/filesystem.git", - "reference": "710d364200997a5afde34d9fe57bd52f3cc1e108" + "reference": "8c86a82f51658188119e62cff0a050a12d09836f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/filesystem/zipball/710d364200997a5afde34d9fe57bd52f3cc1e108", - "reference": "710d364200997a5afde34d9fe57bd52f3cc1e108", + "url": "https://api.github.com/repos/symfony/filesystem/zipball/8c86a82f51658188119e62cff0a050a12d09836f", + "reference": "8c86a82f51658188119e62cff0a050a12d09836f", "shasum": "" }, "require": { @@ -4792,7 +4681,7 @@ "description": "Provides basic utilities for the filesystem", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/filesystem/tree/v5.2.4" + "source": "https://github.com/symfony/filesystem/tree/v5.2.6" }, "funding": [ { @@ -4808,7 +4697,7 @@ "type": "tidelift" } ], - "time": "2021-02-12T10:38:38+00:00" + "time": "2021-03-28T14:30:26+00:00" }, { "name": "symfony/finder", @@ -5025,16 +4914,16 @@ }, { "name": "symfony/http-kernel", - "version": "v5.2.5", + "version": "v5.2.6", "source": { "type": "git", "url": "https://github.com/symfony/http-kernel.git", - "reference": "b8c63ef63c2364e174c3b3e0ba0bf83455f97f73" + "reference": "f34de4c61ca46df73857f7f36b9a3805bdd7e3b2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-kernel/zipball/b8c63ef63c2364e174c3b3e0ba0bf83455f97f73", - "reference": "b8c63ef63c2364e174c3b3e0ba0bf83455f97f73", + "url": "https://api.github.com/repos/symfony/http-kernel/zipball/f34de4c61ca46df73857f7f36b9a3805bdd7e3b2", + "reference": "f34de4c61ca46df73857f7f36b9a3805bdd7e3b2", "shasum": "" }, "require": { @@ -5117,7 +5006,7 @@ "description": "Provides a structured process for converting a Request into a Response", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/http-kernel/tree/v5.2.5" + "source": "https://github.com/symfony/http-kernel/tree/v5.2.6" }, "funding": [ { @@ -5133,7 +5022,7 @@ "type": "tidelift" } ], - "time": "2021-03-10T17:07:35+00:00" + "time": "2021-03-29T05:16:58+00:00" }, { "name": "symfony/polyfill-ctype", @@ -5621,6 +5510,85 @@ ], "time": "2021-01-07T16:49:33+00:00" }, + { + "name": "symfony/polyfill-uuid", + "version": "v1.22.1", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-uuid.git", + "reference": "9773608c15d3fe6ba2b6456a124777a7b8ffee2a" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-uuid/zipball/9773608c15d3fe6ba2b6456a124777a7b8ffee2a", + "reference": "9773608c15d3fe6ba2b6456a124777a7b8ffee2a", + "shasum": "" + }, + "require": { + "php": ">=7.1" + }, + "suggest": { + "ext-uuid": "For best performance" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.22-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Polyfill\\Uuid\\": "" + }, + "files": [ + "bootstrap.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Grégoire Pineau", + "email": "lyrixx@lyrixx.info" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill for uuid functions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "polyfill", + "portable", + "uuid" + ], + "support": { + "source": "https://github.com/symfony/polyfill-uuid/tree/v1.22.1" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2021-01-22T09:19:47+00:00" + }, { "name": "symfony/process", "version": "v5.2.4", @@ -5764,16 +5732,16 @@ }, { "name": "symfony/string", - "version": "v5.2.4", + "version": "v5.2.6", "source": { "type": "git", "url": "https://github.com/symfony/string.git", - "reference": "4e78d7d47061fa183639927ec40d607973699609" + "reference": "ad0bd91bce2054103f5eaa18ebeba8d3bc2a0572" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/4e78d7d47061fa183639927ec40d607973699609", - "reference": "4e78d7d47061fa183639927ec40d607973699609", + "url": "https://api.github.com/repos/symfony/string/zipball/ad0bd91bce2054103f5eaa18ebeba8d3bc2a0572", + "reference": "ad0bd91bce2054103f5eaa18ebeba8d3bc2a0572", "shasum": "" }, "require": { @@ -5827,7 +5795,7 @@ "utf8" ], "support": { - "source": "https://github.com/symfony/string/tree/v5.2.4" + "source": "https://github.com/symfony/string/tree/v5.2.6" }, "funding": [ { @@ -5843,20 +5811,90 @@ "type": "tidelift" } ], - "time": "2021-02-16T10:20:28+00:00" + "time": "2021-03-17T17:12:15+00:00" }, { - "name": "symfony/var-dumper", - "version": "v5.2.5", + "name": "symfony/uid", + "version": "v5.2.6", "source": { "type": "git", - "url": "https://github.com/symfony/var-dumper.git", - "reference": "002ab5a36702adf0c9a11e6d8836623253e9045e" + "url": "https://github.com/symfony/uid.git", + "reference": "47d4347b762f0bab9b4ec02112ddfaaa6d79481b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/var-dumper/zipball/002ab5a36702adf0c9a11e6d8836623253e9045e", - "reference": "002ab5a36702adf0c9a11e6d8836623253e9045e", + "url": "https://api.github.com/repos/symfony/uid/zipball/47d4347b762f0bab9b4ec02112ddfaaa6d79481b", + "reference": "47d4347b762f0bab9b4ec02112ddfaaa6d79481b", + "shasum": "" + }, + "require": { + "php": ">=7.2.5", + "symfony/polyfill-uuid": "^1.15" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\Uid\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Grégoire Pineau", + "email": "lyrixx@lyrixx.info" + }, + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Provides an object-oriented API to generate and represent UIDs", + "homepage": "https://symfony.com", + "keywords": [ + "UID", + "uuid" + ], + "support": { + "source": "https://github.com/symfony/uid/tree/v5.2.6" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2021-03-21T16:15:38+00:00" + }, + { + "name": "symfony/var-dumper", + "version": "v5.2.6", + "source": { + "type": "git", + "url": "https://github.com/symfony/var-dumper.git", + "reference": "89412a68ea2e675b4e44f260a5666729f77f668e" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/var-dumper/zipball/89412a68ea2e675b4e44f260a5666729f77f668e", + "reference": "89412a68ea2e675b4e44f260a5666729f77f668e", "shasum": "" }, "require": { @@ -5915,7 +5953,7 @@ "dump" ], "support": { - "source": "https://github.com/symfony/var-dumper/tree/v5.2.5" + "source": "https://github.com/symfony/var-dumper/tree/v5.2.6" }, "funding": [ { @@ -5931,168 +5969,20 @@ "type": "tidelift" } ], - "time": "2021-03-06T07:59:01+00:00" - }, - { - "name": "symfony/var-exporter", - "version": "v5.2.4", - "source": { - "type": "git", - "url": "https://github.com/symfony/var-exporter.git", - "reference": "5aed4875ab514c8cb9b6ff4772baa25fa4c10307" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/var-exporter/zipball/5aed4875ab514c8cb9b6ff4772baa25fa4c10307", - "reference": "5aed4875ab514c8cb9b6ff4772baa25fa4c10307", - "shasum": "" - }, - "require": { - "php": ">=7.2.5", - "symfony/polyfill-php80": "^1.15" - }, - "require-dev": { - "symfony/var-dumper": "^4.4.9|^5.0.9" - }, - "type": "library", - "autoload": { - "psr-4": { - "Symfony\\Component\\VarExporter\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Allows exporting any serializable PHP data structure to plain PHP code", - "homepage": "https://symfony.com", - "keywords": [ - "clone", - "construct", - "export", - "hydrate", - "instantiate", - "serialize" - ], - "support": { - "source": "https://github.com/symfony/var-exporter/tree/v5.2.4" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2021-01-27T10:01:46+00:00" - }, - { - "name": "symfony/yaml", - "version": "v5.2.5", - "source": { - "type": "git", - "url": "https://github.com/symfony/yaml.git", - "reference": "298a08ddda623485208506fcee08817807a251dd" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/yaml/zipball/298a08ddda623485208506fcee08817807a251dd", - "reference": "298a08ddda623485208506fcee08817807a251dd", - "shasum": "" - }, - "require": { - "php": ">=7.2.5", - "symfony/deprecation-contracts": "^2.1", - "symfony/polyfill-ctype": "~1.8" - }, - "conflict": { - "symfony/console": "<4.4" - }, - "require-dev": { - "symfony/console": "^4.4|^5.0" - }, - "suggest": { - "symfony/console": "For validating YAML files using the lint command" - }, - "bin": [ - "Resources/bin/yaml-lint" - ], - "type": "library", - "autoload": { - "psr-4": { - "Symfony\\Component\\Yaml\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Loads and dumps YAML files", - "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/yaml/tree/v5.2.5" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2021-03-06T07:59:01+00:00" + "time": "2021-03-28T09:42:18+00:00" }, { "name": "symplify/astral", - "version": "v9.2.6", + "version": "v9.2.15", "source": { "type": "git", "url": "https://github.com/symplify/astral.git", - "reference": "7822604075dd170d53530a015b4d8259640eb170" + "reference": "78710ba152511371cf89b83e23395dbd60490449" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symplify/astral/zipball/7822604075dd170d53530a015b4d8259640eb170", - "reference": "7822604075dd170d53530a015b4d8259640eb170", + "url": "https://api.github.com/repos/symplify/astral/zipball/78710ba152511371cf89b83e23395dbd60490449", + "reference": "78710ba152511371cf89b83e23395dbd60490449", "shasum": "" }, "require": { @@ -6101,17 +5991,17 @@ "php": ">=7.3", "symfony/dependency-injection": "^5.2", "symfony/http-kernel": "^4.4|^5.2", - "symplify/autowire-array-parameter": "^9.2.6", - "symplify/package-builder": "^9.2.6" + "symplify/autowire-array-parameter": "^9.2.15", + "symplify/package-builder": "^9.2.15" }, "require-dev": { "phpunit/phpunit": "^9.5", - "symplify/easy-testing": "^9.2.6" + "symplify/easy-testing": "^9.2.15" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "9.3-dev" + "dev-main": "9.3-dev" } }, "autoload": { @@ -6125,7 +6015,7 @@ ], "description": "Toolking for smart daily work with AST", "support": { - "source": "https://github.com/symplify/astral/tree/v9.2.6" + "source": "https://github.com/symplify/astral/tree/v9.2.15" }, "funding": [ { @@ -6137,27 +6027,27 @@ "type": "github" } ], - "time": "2021-03-08T21:02:50+00:00" + "time": "2021-04-07T20:27:55+00:00" }, { "name": "symplify/autowire-array-parameter", - "version": "v9.2.6", + "version": "v9.2.15", "source": { "type": "git", "url": "https://github.com/symplify/autowire-array-parameter.git", - "reference": "18bd8fc637240d122c530c61f2fc442a49d526b6" + "reference": "c088ca8ce7aa4d96c0844f709e03093f170b1301" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symplify/autowire-array-parameter/zipball/18bd8fc637240d122c530c61f2fc442a49d526b6", - "reference": "18bd8fc637240d122c530c61f2fc442a49d526b6", + "url": "https://api.github.com/repos/symplify/autowire-array-parameter/zipball/c088ca8ce7aa4d96c0844f709e03093f170b1301", + "reference": "c088ca8ce7aa4d96c0844f709e03093f170b1301", "shasum": "" }, "require": { "nette/utils": "^3.2", "php": ">=7.3", "symfony/dependency-injection": "^5.2", - "symplify/package-builder": "^9.2.6" + "symplify/package-builder": "^9.2.15" }, "require-dev": { "phpunit/phpunit": "^9.5" @@ -6165,7 +6055,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "9.3-dev" + "dev-main": "9.3-dev" } }, "autoload": { @@ -6179,7 +6069,7 @@ ], "description": "Autowire array parameters for your Symfony applications", "support": { - "source": "https://github.com/symplify/autowire-array-parameter/tree/v9.2.6" + "source": "https://github.com/symplify/autowire-array-parameter/tree/v9.2.15" }, "funding": [ { @@ -6191,20 +6081,20 @@ "type": "github" } ], - "time": "2021-03-08T21:02:47+00:00" + "time": "2021-04-07T20:27:51+00:00" }, { "name": "symplify/composer-json-manipulator", - "version": "v9.2.6", + "version": "v9.2.15", "source": { "type": "git", "url": "https://github.com/symplify/composer-json-manipulator.git", - "reference": "0cbba95321e25af2a6387faed32de5696afe7c58" + "reference": "70c95c637215c0e9579fd62ef6d00de745ef4576" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symplify/composer-json-manipulator/zipball/0cbba95321e25af2a6387faed32de5696afe7c58", - "reference": "0cbba95321e25af2a6387faed32de5696afe7c58", + "url": "https://api.github.com/repos/symplify/composer-json-manipulator/zipball/70c95c637215c0e9579fd62ef6d00de745ef4576", + "reference": "70c95c637215c0e9579fd62ef6d00de745ef4576", "shasum": "" }, "require": { @@ -6214,8 +6104,8 @@ "symfony/dependency-injection": "^5.2", "symfony/filesystem": "^4.4|^5.2", "symfony/http-kernel": "^4.4|^5.2", - "symplify/package-builder": "^9.2.6", - "symplify/smart-file-system": "^9.2.6" + "symplify/package-builder": "^9.2.15", + "symplify/smart-file-system": "^9.2.15" }, "require-dev": { "phpunit/phpunit": "^9.5" @@ -6223,7 +6113,7 @@ "type": "symfony-bundle", "extra": { "branch-alias": { - "dev-master": "9.3-dev" + "dev-main": "9.3-dev" } }, "autoload": { @@ -6237,7 +6127,7 @@ ], "description": "Package to load, merge and save composer.json file(s)", "support": { - "source": "https://github.com/symplify/composer-json-manipulator/tree/v9.2.6" + "source": "https://github.com/symplify/composer-json-manipulator/tree/v9.2.15" }, "funding": [ { @@ -6249,20 +6139,20 @@ "type": "github" } ], - "time": "2021-03-08T21:02:35+00:00" + "time": "2021-04-07T20:27:54+00:00" }, { "name": "symplify/console-color-diff", - "version": "v9.2.6", + "version": "v9.2.15", "source": { "type": "git", "url": "https://github.com/symplify/console-color-diff.git", - "reference": "05aad767f4b8a31c4bb80b31aaf5c3a9a25b2f8d" + "reference": "ab62a74b0cf16b702e7782f577cf6c21faa2372e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symplify/console-color-diff/zipball/05aad767f4b8a31c4bb80b31aaf5c3a9a25b2f8d", - "reference": "05aad767f4b8a31c4bb80b31aaf5c3a9a25b2f8d", + "url": "https://api.github.com/repos/symplify/console-color-diff/zipball/ab62a74b0cf16b702e7782f577cf6c21faa2372e", + "reference": "ab62a74b0cf16b702e7782f577cf6c21faa2372e", "shasum": "" }, "require": { @@ -6272,7 +6162,7 @@ "symfony/console": "^4.4|^5.2", "symfony/dependency-injection": "^5.2", "symfony/http-kernel": "^4.4|^5.2", - "symplify/package-builder": "^9.2.6" + "symplify/package-builder": "^9.2.15" }, "require-dev": { "phpunit/phpunit": "^9.5" @@ -6280,7 +6170,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "9.3-dev" + "dev-main": "9.3-dev" } }, "autoload": { @@ -6294,7 +6184,7 @@ ], "description": "Package to print diffs in console with colors", "support": { - "source": "https://github.com/symplify/console-color-diff/tree/v9.2.6" + "source": "https://github.com/symplify/console-color-diff/tree/v9.2.15" }, "funding": [ { @@ -6306,37 +6196,37 @@ "type": "github" } ], - "time": "2021-03-08T21:02:37+00:00" + "time": "2021-04-07T20:27:53+00:00" }, { "name": "symplify/console-package-builder", - "version": "v9.2.6", + "version": "v9.2.15", "source": { "type": "git", "url": "https://github.com/symplify/console-package-builder.git", - "reference": "8c5c1802e95060ef171ac3dfd7d48fab2ea34411" + "reference": "a0f304934ed8c385d752221a76ce895ab2c2223c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symplify/console-package-builder/zipball/8c5c1802e95060ef171ac3dfd7d48fab2ea34411", - "reference": "8c5c1802e95060ef171ac3dfd7d48fab2ea34411", + "url": "https://api.github.com/repos/symplify/console-package-builder/zipball/a0f304934ed8c385d752221a76ce895ab2c2223c", + "reference": "a0f304934ed8c385d752221a76ce895ab2c2223c", "shasum": "" }, "require": { "php": ">=7.3", "symfony/console": "^4.4|^5.2", "symfony/dependency-injection": "^5.2", - "symplify/symplify-kernel": "^9.2.6" + "symplify/symplify-kernel": "^9.2.15" }, "require-dev": { "phpunit/phpunit": "^9.5", "symfony/http-kernel": "^4.4|^5.2", - "symplify/package-builder": "^9.2.6" + "symplify/package-builder": "^9.2.15" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "9.3-dev" + "dev-main": "9.3-dev" } }, "autoload": { @@ -6350,23 +6240,22 @@ ], "description": "Package to speed up building command line applications", "support": { - "issues": "https://github.com/symplify/console-package-builder/issues", - "source": "https://github.com/symplify/console-package-builder/tree/v9.2.6" + "source": "https://github.com/symplify/console-package-builder/tree/v9.2.15" }, - "time": "2021-03-08T21:02:34+00:00" + "time": "2021-04-07T20:27:54+00:00" }, { "name": "symplify/easy-testing", - "version": "v9.2.6", + "version": "v9.2.15", "source": { "type": "git", "url": "https://github.com/symplify/easy-testing.git", - "reference": "478605832a3011777c26f59a59ddf125d9ce8bd8" + "reference": "403de7d4ebae79f13d897349e8de4c09d6e3a875" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symplify/easy-testing/zipball/478605832a3011777c26f59a59ddf125d9ce8bd8", - "reference": "478605832a3011777c26f59a59ddf125d9ce8bd8", + "url": "https://api.github.com/repos/symplify/easy-testing/zipball/403de7d4ebae79f13d897349e8de4c09d6e3a875", + "reference": "403de7d4ebae79f13d897349e8de4c09d6e3a875", "shasum": "" }, "require": { @@ -6376,10 +6265,10 @@ "symfony/dependency-injection": "^5.2", "symfony/finder": "^4.4|^5.2", "symfony/http-kernel": "^4.4|^5.2", - "symplify/console-package-builder": "^9.2.6", - "symplify/package-builder": "^9.2.6", - "symplify/smart-file-system": "^9.2.6", - "symplify/symplify-kernel": "^9.2.6" + "symplify/console-package-builder": "^9.2.15", + "symplify/package-builder": "^9.2.15", + "symplify/smart-file-system": "^9.2.15", + "symplify/symplify-kernel": "^9.2.15" }, "require-dev": { "phpunit/phpunit": "^9.5" @@ -6390,7 +6279,7 @@ "type": "symfony-bundle", "extra": { "branch-alias": { - "dev-master": "9.3-dev" + "dev-main": "9.3-dev" } }, "autoload": { @@ -6404,7 +6293,7 @@ ], "description": "Testing made easy", "support": { - "source": "https://github.com/symplify/easy-testing/tree/v9.2.6" + "source": "https://github.com/symplify/easy-testing/tree/v9.2.15" }, "funding": [ { @@ -6416,76 +6305,20 @@ "type": "github" } ], - "time": "2021-03-08T21:02:32+00:00" - }, - { - "name": "symplify/markdown-diff", - "version": "v9.2.6", - "source": { - "type": "git", - "url": "https://github.com/symplify/markdown-diff.git", - "reference": "53d91bf0703d5c49d856d9c4293d2221d7a1deeb" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symplify/markdown-diff/zipball/53d91bf0703d5c49d856d9c4293d2221d7a1deeb", - "reference": "53d91bf0703d5c49d856d9c4293d2221d7a1deeb", - "shasum": "" - }, - "require": { - "nette/utils": "^3.2", - "php": ">=7.3", - "sebastian/diff": "^3.0|^4.0", - "symfony/dependency-injection": "^5.2", - "symfony/http-kernel": "^4.4|^5.2", - "symplify/package-builder": "^9.2.6" - }, - "require-dev": { - "phpunit/phpunit": "^9.5" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "9.3-dev" - } - }, - "autoload": { - "psr-4": { - "Symplify\\MarkdownDiff\\": "src" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Package to print diffs for Markdown", - "support": { - "source": "https://github.com/symplify/markdown-diff/tree/v9.2.6" - }, - "funding": [ - { - "url": "https://www.paypal.me/rectorphp", - "type": "custom" - }, - { - "url": "https://github.com/tomasvotruba", - "type": "github" - } - ], - "time": "2021-03-08T21:02:35+00:00" + "time": "2021-04-07T20:27:54+00:00" }, { "name": "symplify/package-builder", - "version": "v9.2.6", + "version": "v9.2.15", "source": { "type": "git", "url": "https://github.com/symplify/package-builder.git", - "reference": "74a0f748e75bf30dfc47234e050bab9e82875a64" + "reference": "142cfa26d1030596af4126b7f6387cb6945f6ab0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symplify/package-builder/zipball/74a0f748e75bf30dfc47234e050bab9e82875a64", - "reference": "74a0f748e75bf30dfc47234e050bab9e82875a64", + "url": "https://api.github.com/repos/symplify/package-builder/zipball/142cfa26d1030596af4126b7f6387cb6945f6ab0", + "reference": "142cfa26d1030596af4126b7f6387cb6945f6ab0", "shasum": "" }, "require": { @@ -6497,9 +6330,8 @@ "symfony/dependency-injection": "^5.2", "symfony/finder": "^4.4|^5.2", "symfony/http-kernel": "^4.4|^5.2", - "symfony/yaml": "^4.4|^5.2", - "symplify/easy-testing": "^9.2.6", - "symplify/symplify-kernel": "^9.2.6" + "symplify/easy-testing": "^9.2.15", + "symplify/symplify-kernel": "^9.2.15" }, "require-dev": { "phpunit/phpunit": "^9.5" @@ -6507,7 +6339,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "9.3-dev" + "dev-main": "9.3-dev" } }, "autoload": { @@ -6521,7 +6353,7 @@ ], "description": "Dependency Injection, Console and Kernel toolkit for Symplify packages.", "support": { - "source": "https://github.com/symplify/package-builder/tree/v9.2.6" + "source": "https://github.com/symplify/package-builder/tree/v9.2.15" }, "funding": [ { @@ -6533,93 +6365,30 @@ "type": "github" } ], - "time": "2021-03-08T21:02:38+00:00" + "time": "2021-04-07T20:28:21+00:00" }, { - "name": "symplify/php-config-printer", - "version": "v9.2.6", + "name": "symplify/rule-doc-generator-contracts", + "version": "v9.2.15", "source": { "type": "git", - "url": "https://github.com/symplify/php-config-printer.git", - "reference": "ab9f4e0c13febb4ce641ac08fbe794bffbfc4876" + "url": "https://github.com/symplify/rule-doc-generator-contracts.git", + "reference": "b02f4b86397534e1afcf5d6466b15fb54b89f11c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symplify/php-config-printer/zipball/ab9f4e0c13febb4ce641ac08fbe794bffbfc4876", - "reference": "ab9f4e0c13febb4ce641ac08fbe794bffbfc4876", + "url": "https://api.github.com/repos/symplify/rule-doc-generator-contracts/zipball/b02f4b86397534e1afcf5d6466b15fb54b89f11c", + "reference": "b02f4b86397534e1afcf5d6466b15fb54b89f11c", "shasum": "" }, "require": { "nette/utils": "^3.2", - "nikic/php-parser": "^4.10.4", - "php": ">=7.3", - "symfony/http-kernel": "^4.4|^5.2", - "symplify/symplify-kernel": "^9.2.6" - }, - "require-dev": { - "phpunit/phpunit": "^9.5", - "symplify/easy-testing": "^9.2.6" + "php": ">=7.3" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "9.3-dev" - } - }, - "autoload": { - "psr-4": { - "Symplify\\PhpConfigPrinter\\": "src" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Print Symfony services array with configuration to to plain PHP file format thanks to this simple php-parser wrapper", - "support": { - "issues": "https://github.com/symplify/php-config-printer/issues", - "source": "https://github.com/symplify/php-config-printer/tree/v9.2.6" - }, - "time": "2021-03-08T21:02:36+00:00" - }, - { - "name": "symplify/rule-doc-generator", - "version": "v9.2.6", - "source": { - "type": "git", - "url": "https://github.com/symplify/rule-doc-generator.git", - "reference": "beacc57d3ae00edb68fa8de760a79888b3f8378c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symplify/rule-doc-generator/zipball/beacc57d3ae00edb68fa8de760a79888b3f8378c", - "reference": "beacc57d3ae00edb68fa8de760a79888b3f8378c", - "shasum": "" - }, - "require": { - "nette/neon": "^3.2", - "nette/robot-loader": "^3.3", - "php": ">=7.3", - "symfony/console": "^4.4|^5.2", - "symfony/dependency-injection": "^5.2", - "symplify/markdown-diff": "^9.2.6", - "symplify/package-builder": "^9.2.6", - "symplify/php-config-printer": "^9.2.6", - "symplify/smart-file-system": "^9.2.6", - "symplify/symplify-kernel": "^9.2.6" - }, - "require-dev": { - "friendsofphp/php-cs-fixer": "^2.18.2", - "phpstan/phpstan": "^0.12.80", - "phpunit/phpunit": "^9.5" - }, - "bin": [ - "bin/rule-doc-generator" - ], - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "9.3-dev" + "dev-main": "9.3-dev" } }, "autoload": { @@ -6631,9 +6400,9 @@ "license": [ "MIT" ], - "description": "Documentation generator for coding standard or static analysis rules", + "description": "Contracts for production code of RuleDocGenerator", "support": { - "source": "https://github.com/symplify/rule-doc-generator/tree/v9.2.6" + "source": "https://github.com/symplify/rule-doc-generator-contracts/tree/v9.2.15" }, "funding": [ { @@ -6645,20 +6414,20 @@ "type": "github" } ], - "time": "2021-03-08T21:02:47+00:00" + "time": "2021-03-18T11:17:08+00:00" }, { "name": "symplify/set-config-resolver", - "version": "v9.2.6", + "version": "v9.2.15", "source": { "type": "git", "url": "https://github.com/symplify/set-config-resolver.git", - "reference": "fd3dedb442d0405d8b8ffbf1db639ae1e7287a9e" + "reference": "f2d80dcd8590757073f542270068b2ca2e128ca4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symplify/set-config-resolver/zipball/fd3dedb442d0405d8b8ffbf1db639ae1e7287a9e", - "reference": "fd3dedb442d0405d8b8ffbf1db639ae1e7287a9e", + "url": "https://api.github.com/repos/symplify/set-config-resolver/zipball/f2d80dcd8590757073f542270068b2ca2e128ca4", + "reference": "f2d80dcd8590757073f542270068b2ca2e128ca4", "shasum": "" }, "require": { @@ -6669,9 +6438,8 @@ "symfony/dependency-injection": "^5.2", "symfony/filesystem": "^4.4|^5.2", "symfony/finder": "^4.4|^5.2", - "symfony/yaml": "^4.4|^5.2", - "symplify/smart-file-system": "^9.2.6", - "symplify/symplify-kernel": "^9.2.6" + "symplify/smart-file-system": "^9.2.15", + "symplify/symplify-kernel": "^9.2.15" }, "require-dev": { "phpunit/phpunit": "^9.5" @@ -6679,7 +6447,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "9.3-dev" + "dev-main": "9.3-dev" } }, "autoload": { @@ -6693,8 +6461,7 @@ ], "description": "Resolve config and sets from configs and cli opptions for CLI applications", "support": { - "issues": "https://github.com/symplify/set-config-resolver/issues", - "source": "https://github.com/symplify/set-config-resolver/tree/v9.2.6" + "source": "https://github.com/symplify/set-config-resolver/tree/v9.2.15" }, "funding": [ { @@ -6706,38 +6473,38 @@ "type": "github" } ], - "time": "2021-03-08T21:02:35+00:00" + "time": "2021-04-07T20:28:26+00:00" }, { "name": "symplify/simple-php-doc-parser", - "version": "v9.2.6", + "version": "v9.2.15", "source": { "type": "git", "url": "https://github.com/symplify/simple-php-doc-parser.git", - "reference": "7ff4c6f3afc2b788c6d06bc50af078d1b7e9f712" + "reference": "055aaab325e8560b9c867d7996fd78c6f251c08b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symplify/simple-php-doc-parser/zipball/7ff4c6f3afc2b788c6d06bc50af078d1b7e9f712", - "reference": "7ff4c6f3afc2b788c6d06bc50af078d1b7e9f712", + "url": "https://api.github.com/repos/symplify/simple-php-doc-parser/zipball/055aaab325e8560b9c867d7996fd78c6f251c08b", + "reference": "055aaab325e8560b9c867d7996fd78c6f251c08b", "shasum": "" }, "require": { "php": ">=7.3", - "phpstan/phpdoc-parser": "^0.4.12", + "phpstan/phpdoc-parser": "^0.5", "symfony/config": "^4.4|^5.2", "symfony/dependency-injection": "^5.2", "symfony/http-kernel": "^4.4|^5.2", - "symplify/package-builder": "^9.2.6" + "symplify/package-builder": "^9.2.15" }, "require-dev": { "phpunit/phpunit": "^9.5", - "symplify/easy-testing": "^9.2.6" + "symplify/easy-testing": "^9.2.15" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "9.3-dev" + "dev-main": "9.3-dev" } }, "autoload": { @@ -6751,8 +6518,7 @@ ], "description": "Service integration of phpstan/phpdoc-parser, with few extra goodies for practical simple use", "support": { - "issues": "https://github.com/symplify/simple-php-doc-parser/issues", - "source": "https://github.com/symplify/simple-php-doc-parser/tree/v9.2.6" + "source": "https://github.com/symplify/simple-php-doc-parser/tree/v9.2.15" }, "funding": [ { @@ -6764,20 +6530,20 @@ "type": "github" } ], - "time": "2021-03-08T21:02:37+00:00" + "time": "2021-04-07T20:28:36+00:00" }, { "name": "symplify/skipper", - "version": "v9.2.6", + "version": "v9.2.15", "source": { "type": "git", "url": "https://github.com/symplify/skipper.git", - "reference": "e442f94611006b91a43213a15241fd7664abff76" + "reference": "51ed7beec77be733ecaff4501327ca0858970814" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symplify/skipper/zipball/e442f94611006b91a43213a15241fd7664abff76", - "reference": "e442f94611006b91a43213a15241fd7664abff76", + "url": "https://api.github.com/repos/symplify/skipper/zipball/51ed7beec77be733ecaff4501327ca0858970814", + "reference": "51ed7beec77be733ecaff4501327ca0858970814", "shasum": "" }, "require": { @@ -6787,9 +6553,9 @@ "symfony/dependency-injection": "^5.2", "symfony/filesystem": "^4.4|^5.2", "symfony/finder": "^4.4|^5.2", - "symplify/package-builder": "^9.2.6", - "symplify/smart-file-system": "^9.2.6", - "symplify/symplify-kernel": "^9.2.6" + "symplify/package-builder": "^9.2.15", + "symplify/smart-file-system": "^9.2.15", + "symplify/symplify-kernel": "^9.2.15" }, "require-dev": { "phpunit/phpunit": "^9.5" @@ -6797,7 +6563,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "9.3-dev" + "dev-main": "9.3-dev" } }, "autoload": { @@ -6811,7 +6577,7 @@ ], "description": "Skip files by rule class, directory, file or fnmatch", "support": { - "source": "https://github.com/symplify/skipper/tree/v9.2.6" + "source": "https://github.com/symplify/skipper/tree/v9.2.15" }, "funding": [ { @@ -6823,20 +6589,20 @@ "type": "github" } ], - "time": "2021-03-08T21:02:39+00:00" + "time": "2021-04-07T20:28:38+00:00" }, { "name": "symplify/smart-file-system", - "version": "v9.2.6", + "version": "v9.2.15", "source": { "type": "git", "url": "https://github.com/symplify/smart-file-system.git", - "reference": "a8dee43d23d6ca8dc490c9d2c4c30ee966f75297" + "reference": "d7a222bf576248700aa376fed6727ff665493c02" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symplify/smart-file-system/zipball/a8dee43d23d6ca8dc490c9d2c4c30ee966f75297", - "reference": "a8dee43d23d6ca8dc490c9d2c4c30ee966f75297", + "url": "https://api.github.com/repos/symplify/smart-file-system/zipball/d7a222bf576248700aa376fed6727ff665493c02", + "reference": "d7a222bf576248700aa376fed6727ff665493c02", "shasum": "" }, "require": { @@ -6852,7 +6618,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "9.3-dev" + "dev-main": "9.3-dev" } }, "autoload": { @@ -6866,7 +6632,7 @@ ], "description": "Sanitized FileInfo with safe getRealPath() and other handy methods", "support": { - "source": "https://github.com/symplify/smart-file-system/tree/v9.2.6" + "source": "https://github.com/symplify/smart-file-system/tree/v9.2.15" }, "funding": [ { @@ -6878,37 +6644,37 @@ "type": "github" } ], - "time": "2021-03-05T21:39:08+00:00" + "time": "2021-03-11T14:51:03+00:00" }, { "name": "symplify/symfony-php-config", - "version": "v9.2.6", + "version": "v9.2.15", "source": { "type": "git", "url": "https://github.com/symplify/symfony-php-config.git", - "reference": "bcb8d86f2ac66eb7b639900935a081a4d107235f" + "reference": "0e8fd804828b7fcd1f8395d6fbb2ff57424daf48" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symplify/symfony-php-config/zipball/bcb8d86f2ac66eb7b639900935a081a4d107235f", - "reference": "bcb8d86f2ac66eb7b639900935a081a4d107235f", + "url": "https://api.github.com/repos/symplify/symfony-php-config/zipball/0e8fd804828b7fcd1f8395d6fbb2ff57424daf48", + "reference": "0e8fd804828b7fcd1f8395d6fbb2ff57424daf48", "shasum": "" }, "require": { "php": ">=7.3", "symfony/dependency-injection": "^5.2", - "symplify/package-builder": "^9.2.6", - "symplify/symplify-kernel": "^9.2.6" + "symplify/package-builder": "^9.2.15", + "symplify/symplify-kernel": "^9.2.15" }, "require-dev": { - "phpstan/phpstan": "^0.12.80", + "phpstan/phpstan": "^0.12.82", "phpunit/phpunit": "^9.5", "symfony/http-kernel": "^4.4|^5.2" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "9.3-dev" + "dev-main": "9.3-dev" } }, "autoload": { @@ -6922,34 +6688,34 @@ ], "description": "Tools that easy work with Symfony PHP Configs", "support": { - "issues": "https://github.com/symplify/symfony-php-config/issues", - "source": "https://github.com/symplify/symfony-php-config/tree/v9.2.6" + "source": "https://github.com/symplify/symfony-php-config/tree/v9.2.15" }, - "time": "2021-03-08T21:02:38+00:00" + "time": "2021-04-07T20:28:42+00:00" }, { "name": "symplify/symplify-kernel", - "version": "v9.2.6", + "version": "v9.2.15", "source": { "type": "git", "url": "https://github.com/symplify/symplify-kernel.git", - "reference": "ac429d0b845b5db6174bc825847b5ea33ae93110" + "reference": "6a62772318b3f5db9342440269e069065e363a5c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symplify/symplify-kernel/zipball/ac429d0b845b5db6174bc825847b5ea33ae93110", - "reference": "ac429d0b845b5db6174bc825847b5ea33ae93110", + "url": "https://api.github.com/repos/symplify/symplify-kernel/zipball/6a62772318b3f5db9342440269e069065e363a5c", + "reference": "6a62772318b3f5db9342440269e069065e363a5c", "shasum": "" }, "require": { + "jean85/pretty-package-versions": "^1.6|^2.0.1", "php": ">=7.3", "symfony/console": "^4.4|^5.2", "symfony/dependency-injection": "^5.2", "symfony/http-kernel": "^4.4|^5.2", - "symplify/autowire-array-parameter": "^9.2.6", - "symplify/composer-json-manipulator": "^9.2.6", - "symplify/package-builder": "^9.2.6", - "symplify/smart-file-system": "^9.2.6" + "symplify/autowire-array-parameter": "^9.2.15", + "symplify/composer-json-manipulator": "^9.2.15", + "symplify/package-builder": "^9.2.15", + "symplify/smart-file-system": "^9.2.15" }, "require-dev": { "phpunit/phpunit": "^9.5" @@ -6957,7 +6723,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "9.3-dev" + "dev-main": "9.3-dev" } }, "autoload": { @@ -6971,10 +6737,9 @@ ], "description": "Internal Kernel for Symplify packages", "support": { - "issues": "https://github.com/symplify/symplify-kernel/issues", - "source": "https://github.com/symplify/symplify-kernel/tree/v9.2.6" + "source": "https://github.com/symplify/symplify-kernel/tree/v9.2.15" }, - "time": "2021-03-08T21:02:40+00:00" + "time": "2021-04-07T20:28:44+00:00" }, { "name": "theseer/tokenizer", @@ -7028,20 +6793,20 @@ }, { "name": "vimeo/psalm", - "version": "3.18.2", + "version": "4.7.0", "source": { "type": "git", "url": "https://github.com/vimeo/psalm.git", - "reference": "19aa905f7c3c7350569999a93c40ae91ae4e1626" + "reference": "d4377c0baf3ffbf0b1ec6998e8d1be2a40971005" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/vimeo/psalm/zipball/19aa905f7c3c7350569999a93c40ae91ae4e1626", - "reference": "19aa905f7c3c7350569999a93c40ae91ae4e1626", + "url": "https://api.github.com/repos/vimeo/psalm/zipball/d4377c0baf3ffbf0b1ec6998e8d1be2a40971005", + "reference": "d4377c0baf3ffbf0b1ec6998e8d1be2a40971005", "shasum": "" }, "require": { - "amphp/amp": "^2.1", + "amphp/amp": "^2.4.2", "amphp/byte-stream": "^1.5", "composer/package-versions-deprecated": "^1.8.0", "composer/semver": "^1.4 || ^2.0 || ^3.0", @@ -7054,32 +6819,32 @@ "ext-simplexml": "*", "ext-tokenizer": "*", "felixfbecker/advanced-json-rpc": "^3.0.3", - "felixfbecker/language-server-protocol": "^1.4", - "netresearch/jsonmapper": "^1.0 || ^2.0 || ^3.0", - "nikic/php-parser": "4.3.* || 4.4.* || 4.5.* || 4.6.* || ^4.8", + "felixfbecker/language-server-protocol": "^1.5", + "netresearch/jsonmapper": "^1.0 || ^2.0 || ^3.0 || ^4.0", + "nikic/php-parser": "^4.10.1", "openlss/lib-array2xml": "^1.0", - "php": "^7.1.3|^8", + "php": "^7.1|^8", "sebastian/diff": "^3.0 || ^4.0", "symfony/console": "^3.4.17 || ^4.1.6 || ^5.0", - "webmozart/glob": "^4.1", "webmozart/path-util": "^2.3" }, "provide": { "psalm/psalm": "self.version" }, "require-dev": { - "amphp/amp": "^2.4.2", "bamarni/composer-bin-plugin": "^1.2", - "brianium/paratest": "^4.0.0", + "brianium/paratest": "^4.0||^6.0", "ext-curl": "*", - "phpdocumentor/reflection-docblock": "^4.3.4 || ^5", - "phpmyadmin/sql-parser": "5.1.0", + "php-parallel-lint/php-parallel-lint": "^1.2", + "phpdocumentor/reflection-docblock": "^5", + "phpmyadmin/sql-parser": "5.1.0||dev-master", "phpspec/prophecy": ">=1.9.0", - "phpunit/phpunit": "^7.5.16 || ^8.5 || ^9.0", - "psalm/plugin-phpunit": "^0.11", - "slevomat/coding-standard": "^5.0", + "phpunit/phpunit": "^9.0", + "psalm/plugin-phpunit": "^0.13", + "slevomat/coding-standard": "^6.3.11", "squizlabs/php_codesniffer": "^3.5", "symfony/process": "^4.3", + "weirdan/phpunit-appveyor-reporter": "^1.0.0", "weirdan/prophecy-shim": "^1.0 || ^2.0" }, "suggest": { @@ -7095,7 +6860,8 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "3.x-dev", + "dev-master": "4.x-dev", + "dev-3.x": "3.x-dev", "dev-2.x": "2.x-dev", "dev-1.x": "1.x-dev" } @@ -7126,36 +6892,41 @@ ], "support": { "issues": "https://github.com/vimeo/psalm/issues", - "source": "https://github.com/vimeo/psalm/tree/3.18.2" + "source": "https://github.com/vimeo/psalm/tree/4.7.0" }, - "time": "2020-10-20T13:48:22+00:00" + "time": "2021-03-29T03:54:38+00:00" }, { "name": "webmozart/assert", - "version": "1.9.1", + "version": "1.10.0", "source": { "type": "git", "url": "https://github.com/webmozarts/assert.git", - "reference": "bafc69caeb4d49c39fd0779086c03a3738cbb389" + "reference": "6964c76c7804814a842473e0c8fd15bab0f18e25" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/webmozarts/assert/zipball/bafc69caeb4d49c39fd0779086c03a3738cbb389", - "reference": "bafc69caeb4d49c39fd0779086c03a3738cbb389", + "url": "https://api.github.com/repos/webmozarts/assert/zipball/6964c76c7804814a842473e0c8fd15bab0f18e25", + "reference": "6964c76c7804814a842473e0c8fd15bab0f18e25", "shasum": "" }, "require": { - "php": "^5.3.3 || ^7.0 || ^8.0", + "php": "^7.2 || ^8.0", "symfony/polyfill-ctype": "^1.8" }, "conflict": { "phpstan/phpstan": "<0.12.20", - "vimeo/psalm": "<3.9.1" + "vimeo/psalm": "<4.6.1 || 4.6.2" }, "require-dev": { - "phpunit/phpunit": "^4.8.36 || ^7.5.13" + "phpunit/phpunit": "^8.5.13" }, "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.10-dev" + } + }, "autoload": { "psr-4": { "Webmozart\\Assert\\": "src/" @@ -7179,59 +6950,9 @@ ], "support": { "issues": "https://github.com/webmozarts/assert/issues", - "source": "https://github.com/webmozarts/assert/tree/1.9.1" + "source": "https://github.com/webmozarts/assert/tree/1.10.0" }, - "time": "2020-07-08T17:02:28+00:00" - }, - { - "name": "webmozart/glob", - "version": "4.3.0", - "source": { - "type": "git", - "url": "https://github.com/webmozarts/glob.git", - "reference": "06358fafde0f32edb4513f4fd88fe113a40c90ee" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/webmozarts/glob/zipball/06358fafde0f32edb4513f4fd88fe113a40c90ee", - "reference": "06358fafde0f32edb4513f4fd88fe113a40c90ee", - "shasum": "" - }, - "require": { - "php": "^7.3 || ^8.0.0", - "webmozart/path-util": "^2.2" - }, - "require-dev": { - "phpunit/phpunit": "^8.0", - "symfony/filesystem": "^5.1" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.1-dev" - } - }, - "autoload": { - "psr-4": { - "Webmozart\\Glob\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Bernhard Schussek", - "email": "bschussek@gmail.com" - } - ], - "description": "A PHP implementation of Ant's glob.", - "support": { - "issues": "https://github.com/webmozarts/glob/issues", - "source": "https://github.com/webmozarts/glob/tree/4.3.0" - }, - "time": "2021-01-21T06:17:15+00:00" + "time": "2021-03-09T10:59:23+00:00" }, { "name": "webmozart/path-util", @@ -7290,7 +7011,7 @@ "prefer-stable": false, "prefer-lowest": false, "platform": { - "php": ">=7.4", + "php": ">=8.0", "ext-json": "*" }, "platform-dev": [], diff --git a/psalm.xml b/psalm.xml index 1061909..88b3146 100644 --- a/psalm.xml +++ b/psalm.xml @@ -37,7 +37,6 @@ -