Skip to content

Commit 995c785

Browse files
author
Andrey Helldar
committed
Changed namespace
1 parent 32c9f64 commit 995c785

15 files changed

+46
-42
lines changed

Diff for: .gitattributes

+8-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
* text=auto
22

3+
.github/ export-ignore
4+
tests/ export-ignore
5+
6+
.codecov.yml export-ignore
7+
.editorconfig export-ignore
38
.gitattributes export-ignore
49
.gitignore export-ignore
10+
.scrutinizer.yml export-ignore
511
.styleci.yml export-ignore
6-
/tests export-ignore
12+
13+
phpunit.xml export-ignore

Diff for: .gitignore

+9
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,11 @@
11
.idea/
2+
3+
build/
24
vendor/
5+
6+
*.bak
7+
*.cache
8+
*.clover
9+
*.orig
10+
11+
*.lock

Diff for: SECURITY.md

-5
This file was deleted.

Diff for: composer.json

+13-20
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
2-
"name": "andrey-helldar/xml-core",
2+
"name": "dragon-code/xml-core",
33
"description": "Preset settings for packages that work with XML files.",
44
"type": "library",
55
"license": "MIT",
6-
"keywords": ["xml", "core"],
6+
"keywords": ["xml", "core", "dragon-code", "dragon", "andrey-helldar"],
77
"support": {
8-
"issues": "https://github.com/andrey-helldar/xml-core/issues",
9-
"source": "https://github.com/andrey-helldar/xml-core"
8+
"issues": "https://github.com/TheDragonCode/xml-core/issues",
9+
"source": "https://github.com/TheDragonCode/xml-core"
1010
},
1111
"authors": [
1212
{
@@ -15,37 +15,30 @@
1515
}
1616
],
1717
"require": {
18-
"php": "^7.1.3|^8.0",
18+
"php": "^7.3|^8.0",
1919
"ext-dom": "*",
20-
"illuminate/validation": "^5.6|^6.0|^7.0|^8.0",
21-
"illuminate/support": "^5.6|^6.0|^7.0|^8.0",
20+
"illuminate/validation": "^6.0|^7.0|^8.0",
21+
"illuminate/support": "^6.0|^7.0|^8.0",
2222
"symfony/http-kernel": "^4.0|^5.0"
2323
},
2424
"require-dev": {
25-
"phpunit/phpunit": "^7.5|^8.0|^9.0"
25+
"phpunit/phpunit": "^9.0",
26+
"symfony/var-dumper": "^5.0"
2627
},
2728
"autoload": {
2829
"psr-4": {
29-
"Helldar\\Core\\Xml\\": "src/"
30+
"DragonCode\\Core\\Xml\\": "src"
3031
}
3132
},
3233
"autoload-dev": {
3334
"psr-4": {
34-
"Tests\\": "tests/"
35+
"Tests\\": "tests"
3536
}
3637
},
37-
"suggest": {
38-
"symfony/thanks": "Give thanks (in the form of a GitHub) to your fellow PHP package maintainers"
39-
},
4038
"config": {
4139
"preferred-install": "dist",
4240
"sort-packages": true
4341
},
44-
"minimum-stability": "dev",
45-
"prefer-stable": true,
46-
"extra": {
47-
"branch-alias": {
48-
"dev-master": "2.0-dev"
49-
}
50-
}
42+
"minimum-stability": "stable",
43+
"prefer-stable": true
5144
}

Diff for: src/Abstracts/Item.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?php
22

3-
namespace Helldar\Core\Xml\Abstracts;
3+
namespace DragonCode\Core\Xml\Abstracts;
44

5-
use Helldar\Core\Xml\Interfaces\ItemInterface;
5+
use DragonCode\Core\Xml\Interfaces\ItemInterface;
66

77
abstract class Item implements ItemInterface
88
{

Diff for: src/Abstracts/Validation.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<?php
22

3-
namespace Helldar\Core\Xml\Abstracts;
3+
namespace DragonCode\Core\Xml\Abstracts;
44

5-
use Helldar\Core\Xml\Exceptions\ValidatorException;
6-
use Helldar\Core\Xml\Interfaces\ValidationInterface;
5+
use DragonCode\Core\Xml\Exceptions\ValidatorException;
6+
use DragonCode\Core\Xml\Interfaces\ValidationInterface;
77
use Illuminate\Support\Facades\Validator;
88

99
abstract class Validation implements ValidationInterface

Diff for: src/Exceptions/MethodNotFoundException.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace Helldar\Core\Xml\Exceptions;
3+
namespace DragonCode\Core\Xml\Exceptions;
44

55
use Symfony\Component\HttpKernel\Exception\HttpException;
66

Diff for: src/Exceptions/ValidatorException.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace Helldar\Core\Xml\Exceptions;
3+
namespace DragonCode\Core\Xml\Exceptions;
44

55
use Symfony\Component\HttpKernel\Exception\HttpException;
66

Diff for: src/Facades/Item.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?php
22

3-
namespace Helldar\Core\Xml\Facades;
3+
namespace DragonCode\Core\Xml\Facades;
44

5-
use Helldar\Core\Xml\Abstracts\Item as ItemAbstract;
5+
use DragonCode\Core\Xml\Abstracts\Item as ItemAbstract;
66

77
class Item extends ItemAbstract
88
{

Diff for: src/Facades/Xml.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace Helldar\Core\Xml\Facades;
3+
namespace DragonCode\Core\Xml\Facades;
44

55
use DOMDocument;
66
use DOMElement;
@@ -33,7 +33,7 @@ public function __construct(string $root = 'root', array $attributes = [], bool
3333
* @param array $attributes
3434
* @param bool $format_output
3535
*
36-
* @return \Helldar\Core\Xml\Facades\Xml
36+
* @return \DragonCode\Core\Xml\Facades\Xml
3737
*/
3838
public static function init(string $root = 'root', array $attributes = [], bool $format_output = false): self
3939
{

Diff for: src/Helpers/Arr.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace Helldar\Core\Xml\Helpers;
3+
namespace DragonCode\Core\Xml\Helpers;
44

55
class Arr
66
{

Diff for: src/Helpers/Str.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace Helldar\Core\Xml\Helpers;
3+
namespace DragonCode\Core\Xml\Helpers;
44

55
use Illuminate\Contracts\Support\Htmlable;
66
use Illuminate\Support\Str as IlluminateStr;

Diff for: src/Helpers/Url.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace Helldar\Core\Xml\Helpers;
3+
namespace DragonCode\Core\Xml\Helpers;
44

55
class Url
66
{

Diff for: src/Interfaces/ItemInterface.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace Helldar\Core\Xml\Interfaces;
3+
namespace DragonCode\Core\Xml\Interfaces;
44

55
interface ItemInterface
66
{

Diff for: src/Interfaces/ValidationInterface.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace Helldar\Core\Xml\Interfaces;
3+
namespace DragonCode\Core\Xml\Interfaces;
44

55
interface ValidationInterface
66
{

0 commit comments

Comments
 (0)