Skip to content

Commit 0211608

Browse files
author
František Mazura
committed
namespace update
1 parent 32b61a5 commit 0211608

File tree

8 files changed

+53
-53
lines changed

8 files changed

+53
-53
lines changed

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "og/php-value-objects",
2+
"name": "og-soft/php-value-objects",
33
"description": "Value objects for PHP",
44
"type": "library",
55
"license": "MIT",
@@ -12,7 +12,7 @@
1212
],
1313
"autoload": {
1414
"psr-4": {
15-
"OG\\ValueObjects\\": "src"
15+
"OGSoft\\ValueObjects\\": "src"
1616
}
1717
},
1818
"autoload-dev": {
@@ -21,7 +21,7 @@
2121
}
2222
},
2323
"require": {
24-
"php": "^7.3",
24+
"php": "^7.3|8.*",
2525
"nesbot/carbon": "^2.42.0"
2626
},
2727
"require-dev": {

composer.lock

Lines changed: 37 additions & 37 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/AbstractValueObject.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<?php
22

3-
namespace OG\ValueObjects;
3+
namespace OGSoft\ValueObjects;
44

5-
use OG\ValueObjects\Exceptions\ValidatorException;
6-
use OG\ValueObjects\Interfaces\GlobalValidatorInterface;
7-
use OG\ValueObjects\Interfaces\ValueObjectInterface;
5+
use OGSoft\ValueObjects\Exceptions\ValidatorException;
6+
use OGSoft\ValueObjects\Interfaces\GlobalValidatorInterface;
7+
use OGSoft\ValueObjects\Interfaces\ValueObjectInterface;
88
use Throwable;
99

1010
abstract class AbstractValueObject implements ValueObjectInterface

src/Exceptions/ValidatorException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22

33

4-
namespace OG\ValueObjects\Exceptions;
4+
namespace OGSoft\ValueObjects\Exceptions;
55

66

77
use Exception;

src/Interfaces/GlobalValidatorInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace OG\ValueObjects\Interfaces;
3+
namespace OGSoft\ValueObjects\Interfaces;
44

55
interface GlobalValidatorInterface
66
{

src/Interfaces/ValueObjectInterface.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<?php
22

33

4-
namespace OG\ValueObjects\Interfaces;
4+
namespace OGSoft\ValueObjects\Interfaces;
55

66

7-
use OG\ValueObjects\Exceptions\ValidatorException;
7+
use OGSoft\ValueObjects\Exceptions\ValidatorException;
88
use Throwable;
99

1010
interface ValueObjectInterface

src/Traits/InitAndValidateTrait.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
<?php
22

33

4-
namespace OG\ValueObjects\Traits;
4+
namespace OGSoft\ValueObjects\Traits;
55

66

77
use Carbon\Carbon;
88
use DateTime;
99
use Exception;
10-
use OG\ValueObjects\AbstractValueObject;
11-
use OG\ValueObjects\Exceptions\ValidatorException;
10+
use OGSoft\ValueObjects\AbstractValueObject;
11+
use OGSoft\ValueObjects\Exceptions\ValidatorException;
1212
use ReflectionClass;
1313
use ReflectionException;
1414
use ReflectionParameter;

tests/ValueObjects/AbstractMyValueObject.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
namespace Tests\ValueObjects;
44

5-
use OG\ValueObjects\AbstractValueObject;
6-
use OG\ValueObjects\Traits\InitAndValidateTrait;
5+
use OGSoft\ValueObjects\AbstractValueObject;
6+
use OGSoft\ValueObjects\Traits\InitAndValidateTrait;
77
use Throwable;
88

99
abstract class AbstractMyValueObject extends AbstractValueObject

0 commit comments

Comments
 (0)