Skip to content

Commit

Permalink
declare(strict_types=1);
Browse files Browse the repository at this point in the history
  • Loading branch information
ne-sachirou committed Nov 7, 2021
1 parent 23669c2 commit 8e69f9d
Show file tree
Hide file tree
Showing 14 changed files with 30 additions and 0 deletions.
3 changes: 3 additions & 0 deletions res/AnnotationParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
* @license http://www.gnu.org/copyleft/gpl.html GPL
* @link https://github.com/Ranyuen/Di
*/

declare(strict_types=1);

namespace Ranyuen\Di\Reflection;

require_once 'vendor/hafriedlander/php-peg/autoloader.php';
Expand Down
2 changes: 2 additions & 0 deletions src/Annotation/Inject.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
* @link https://github.com/Ranyuen/Di
*/

declare(strict_types=1);

namespace Ranyuen\Di\Annotation;

use Ranyuen\Di\Reflection\AbstractAnnotation;
Expand Down
2 changes: 2 additions & 0 deletions src/Annotation/Named.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
* @link https://github.com/Ranyuen/Di
*/

declare(strict_types=1);

namespace Ranyuen\Di\Annotation;

use Ranyuen\Di\Reflection\AbstractAnnotation;
Expand Down
2 changes: 2 additions & 0 deletions src/Annotation/Wrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
* @link https://github.com/Ranyuen/Di
*/

declare(strict_types=1);

namespace Ranyuen\Di\Annotation;

use Ranyuen\Di\Reflection\AbstractAnnotation;
Expand Down
2 changes: 2 additions & 0 deletions src/Container.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
* @link https://github.com/Ranyuen/Di
*/

declare(strict_types=1);

namespace Ranyuen\Di;

use Pimple;
Expand Down
2 changes: 2 additions & 0 deletions src/Dispatcher/Dispatcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
* @link https://github.com/Ranyuen/Di
*/

declare(strict_types=1);

namespace Ranyuen\Di\Dispatcher;

use Ranyuen\Di\Container;
Expand Down
2 changes: 2 additions & 0 deletions src/Dispatcher/NakedDispatcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
* @link https://github.com/Ranyuen/Di
*/

declare(strict_types=1);

namespace Ranyuen\Di\Dispatcher;

use Ranyuen\Di\Container;
Expand Down
2 changes: 2 additions & 0 deletions src/Dispatcher/ParametrizedInvokable.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
* @link https://github.com/Ranyuen/Di
*/

declare(strict_types=1);

namespace Ranyuen\Di\Dispatcher;

/**
Expand Down
2 changes: 2 additions & 0 deletions src/InjectorCache.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
* @link https://github.com/Ranyuen/Di
*/

declare(strict_types=1);

namespace Ranyuen\Di;

use Ranyuen\Di\Dispatcher\NakedDispatcher;
Expand Down
2 changes: 2 additions & 0 deletions src/Reflection/AnnotationException.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
* @link https://github.com/Ranyuen/Di
*/

declare(strict_types=1);

namespace Ranyuen\Di\Reflection;

/**
Expand Down
3 changes: 3 additions & 0 deletions src/Reflection/AnnotationParser.peg.inc
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
* @license http://www.gnu.org/copyleft/gpl.html GPL
* @link https://github.com/Ranyuen/Di
*/

declare(strict_types=1);

namespace Ranyuen\Di\Reflection;

require_once 'vendor/hafriedlander/php-peg/autoloader.php';
Expand Down
2 changes: 2 additions & 0 deletions src/Reflection/KeyReflector.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
* @link https://github.com/Ranyuen/Di
*/

declare(strict_types=1);

namespace Ranyuen\Di\Reflection;

use Ranyuen\Di\Annotation\Inject;
Expand Down
2 changes: 2 additions & 0 deletions src/Reflection/Type.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
* @link https://github.com/Ranyuen/Di
*/

declare(strict_types=1);

namespace Ranyuen\Di\Reflection;

use Doctrine\Common\Annotations\PhpParser;
Expand Down
2 changes: 2 additions & 0 deletions src/ServiceProviderInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
* @link https://github.com/Ranyuen/Di
*/

declare(strict_types=1);

namespace Ranyuen\Di;

/**
Expand Down

0 comments on commit 8e69f9d

Please sign in to comment.