mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-08-09 16:36:37 +02:00
style: Adopt PSR12
Dev dependency flyeralarm/php-code-validator has been removed. Closes #444
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
<?php declare(strict_types=1);
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace DesignPatterns\Structural\Registry;
|
||||
|
||||
@@ -6,7 +8,7 @@ use InvalidArgumentException;
|
||||
|
||||
abstract class Registry
|
||||
{
|
||||
const LOGGER = 'logger';
|
||||
public const LOGGER = 'logger';
|
||||
|
||||
/**
|
||||
* this introduces global state in your application which can not be mocked up for testing
|
||||
|
@@ -1,4 +1,6 @@
|
||||
<?php declare(strict_types=1);
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace DesignPatterns\Structural\Registry\Tests;
|
||||
|
||||
|
Reference in New Issue
Block a user