Skip to content

Commit 5bcbe38

Browse files
committed
refactor: Autofix code-style.
1 parent aba5b39 commit 5bcbe38

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

73 files changed

+374
-191
lines changed

LICENSE

+13-14
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,20 @@
1-
MIT License
1+
The MIT License (MIT)
22

3-
Copyright (c) 2018 Pol Dellaiera
3+
Copyright (c) 2018-2021 Pol Dellaiera
44

5-
Permission is hereby granted, free of charge, to any person obtaining a copy
6-
of this software and associated documentation files (the "Software"), to deal
7-
in the Software without restriction, including without limitation the rights
8-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9-
copies of the Software, and to permit persons to whom the Software is
10-
furnished to do so, subject to the following conditions:
5+
Permission is hereby granted, free of charge, to any person obtaining a copy of
6+
this software and associated documentation files (the "Software"), to deal in
7+
the Software without restriction, including without limitation the rights to
8+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
9+
the Software, and to permit persons to whom the Software is furnished to do so,
10+
subject to the following conditions:
1111

1212
The above copyright notice and this permission notice shall be included in all
1313
copies or substantial portions of the Software.
1414

1515
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21-
SOFTWARE.
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
17+
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
18+
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
19+
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
20+
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

spec/loophp/phptree/Builder/RandomSpec.php

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

3+
/**
4+
* For the full copyright and license information, please view
5+
* the LICENSE file that was distributed with this source code.
6+
*/
7+
38
declare(strict_types=1);
49

510
namespace spec\loophp\phptree\Builder;

spec/loophp/phptree/Exporter/AsciiSpec.php

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

3+
/**
4+
* For the full copyright and license information, please view
5+
* the LICENSE file that was distributed with this source code.
6+
*/
7+
38
declare(strict_types=1);
49

510
namespace spec\loophp\phptree\Exporter;

spec/loophp/phptree/Exporter/GraphSpec.php

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

3+
/**
4+
* For the full copyright and license information, please view
5+
* the LICENSE file that was distributed with this source code.
6+
*/
7+
38
declare(strict_types=1);
49

510
namespace spec\loophp\phptree\Exporter;
@@ -18,9 +23,6 @@
1823
*/
1924
class GraphSpec extends ObjectBehavior
2025
{
21-
/**
22-
* {@inheritdoc}
23-
*/
2426
public function getMatchers(): array
2527
{
2628
return [

spec/loophp/phptree/Exporter/GvSpec.php

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

3+
/**
4+
* For the full copyright and license information, please view
5+
* the LICENSE file that was distributed with this source code.
6+
*/
7+
38
declare(strict_types=1);
49

510
namespace spec\loophp\phptree\Exporter;

spec/loophp/phptree/Exporter/ImageSpec.php

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

3+
/**
4+
* For the full copyright and license information, please view
5+
* the LICENSE file that was distributed with this source code.
6+
*/
7+
38
declare(strict_types=1);
49

510
namespace spec\loophp\phptree\Exporter;

spec/loophp/phptree/Exporter/SimpleArraySpec.php

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

3+
/**
4+
* For the full copyright and license information, please view
5+
* the LICENSE file that was distributed with this source code.
6+
*/
7+
38
declare(strict_types=1);
49

510
namespace spec\loophp\phptree\Exporter;

spec/loophp/phptree/Exporter/TextSpec.php

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

3+
/**
4+
* For the full copyright and license information, please view
5+
* the LICENSE file that was distributed with this source code.
6+
*/
7+
38
declare(strict_types=1);
49

510
namespace spec\loophp\phptree\Exporter;

spec/loophp/phptree/Importer/MicrosoftTolerantPhpParserSpec.php

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

3+
/**
4+
* For the full copyright and license information, please view
5+
* the LICENSE file that was distributed with this source code.
6+
*/
7+
38
declare(strict_types=1);
49

510
namespace spec\loophp\phptree\Importer;

spec/loophp/phptree/Importer/NikicPhpAstSpec.php

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

3+
/**
4+
* For the full copyright and license information, please view
5+
* the LICENSE file that was distributed with this source code.
6+
*/
7+
38
declare(strict_types=1);
49

510
namespace spec\loophp\phptree\Importer;

spec/loophp/phptree/Importer/NikicPhpParserSpec.php

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

3+
/**
4+
* For the full copyright and license information, please view
5+
* the LICENSE file that was distributed with this source code.
6+
*/
7+
38
declare(strict_types=1);
49

510
namespace spec\loophp\phptree\Importer;

spec/loophp/phptree/Importer/SimpleArraySpec.php

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

3+
/**
4+
* For the full copyright and license information, please view
5+
* the LICENSE file that was distributed with this source code.
6+
*/
7+
38
declare(strict_types=1);
49

510
namespace spec\loophp\phptree\Importer;

spec/loophp/phptree/Importer/TextSpec.php

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

3+
/**
4+
* For the full copyright and license information, please view
5+
* the LICENSE file that was distributed with this source code.
6+
*/
7+
38
declare(strict_types=1);
49

510
namespace spec\loophp\phptree\Importer;

spec/loophp/phptree/Modifier/ApplySpec.php

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

3+
/**
4+
* For the full copyright and license information, please view
5+
* the LICENSE file that was distributed with this source code.
6+
*/
7+
38
declare(strict_types=1);
49

510
namespace spec\loophp\phptree\Modifier;

spec/loophp/phptree/Modifier/FilterSpec.php

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

3+
/**
4+
* For the full copyright and license information, please view
5+
* the LICENSE file that was distributed with this source code.
6+
*/
7+
38
declare(strict_types=1);
49

510
namespace spec\loophp\phptree\Modifier;

spec/loophp/phptree/Modifier/FulfillCapacitySpec.php

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

3+
/**
4+
* For the full copyright and license information, please view
5+
* the LICENSE file that was distributed with this source code.
6+
*/
7+
38
declare(strict_types=1);
49

510
namespace spec\loophp\phptree\Modifier;

spec/loophp/phptree/Modifier/RemoveNullNodeSpec.php

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

3+
/**
4+
* For the full copyright and license information, please view
5+
* the LICENSE file that was distributed with this source code.
6+
*/
7+
38
declare(strict_types=1);
49

510
namespace spec\loophp\phptree\Modifier;

spec/loophp/phptree/Modifier/ReverseSpec.php

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

3+
/**
4+
* For the full copyright and license information, please view
5+
* the LICENSE file that was distributed with this source code.
6+
*/
7+
38
declare(strict_types=1);
49

510
namespace spec\loophp\phptree\Modifier;

spec/loophp/phptree/Node/ABNodeSpec.php

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

3+
/**
4+
* For the full copyright and license information, please view
5+
* the LICENSE file that was distributed with this source code.
6+
*/
7+
38
declare(strict_types=1);
49

510
namespace spec\loophp\phptree\Node;

spec/loophp/phptree/Node/AttributeNodeSpec.php

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

3+
/**
4+
* For the full copyright and license information, please view
5+
* the LICENSE file that was distributed with this source code.
6+
*/
7+
38
declare(strict_types=1);
49

510
namespace spec\loophp\phptree\Node;

spec/loophp/phptree/Node/KeyValueNodeSpec.php

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

3+
/**
4+
* For the full copyright and license information, please view
5+
* the LICENSE file that was distributed with this source code.
6+
*/
7+
38
declare(strict_types=1);
49

510
namespace spec\loophp\phptree\Node;

spec/loophp/phptree/Node/MerkleNodeSpec.php

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

3+
/**
4+
* For the full copyright and license information, please view
5+
* the LICENSE file that was distributed with this source code.
6+
*/
7+
38
declare(strict_types=1);
49

510
namespace spec\loophp\phptree\Node;

spec/loophp/phptree/Node/NaryNodeSpec.php

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

3+
/**
4+
* For the full copyright and license information, please view
5+
* the LICENSE file that was distributed with this source code.
6+
*/
7+
38
declare(strict_types=1);
49

510
namespace spec\loophp\phptree\Node;

spec/loophp/phptree/Node/NodeObjectBehavior.php

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

3+
/**
4+
* For the full copyright and license information, please view
5+
* the LICENSE file that was distributed with this source code.
6+
*/
7+
38
declare(strict_types=1);
49

510
namespace spec\loophp\phptree\Node;
@@ -21,9 +26,6 @@
2126
*/
2227
abstract class NodeObjectBehavior extends ObjectBehavior
2328
{
24-
/**
25-
* {@inheritdoc}
26-
*/
2729
public function getMatchers(): array
2830
{
2931
return [

spec/loophp/phptree/Node/NodeSpec.php

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

3+
/**
4+
* For the full copyright and license information, please view
5+
* the LICENSE file that was distributed with this source code.
6+
*/
7+
38
declare(strict_types=1);
49

510
namespace spec\loophp\phptree\Node;

spec/loophp/phptree/Node/TrieNodeSpec.php

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

3+
/**
4+
* For the full copyright and license information, please view
5+
* the LICENSE file that was distributed with this source code.
6+
*/
7+
38
declare(strict_types=1);
49

510
namespace spec\loophp\phptree\Node;

spec/loophp/phptree/Node/ValueNodeSpec.php

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

3+
/**
4+
* For the full copyright and license information, please view
5+
* the LICENSE file that was distributed with this source code.
6+
*/
7+
38
declare(strict_types=1);
49

510
namespace spec\loophp\phptree\Node;

spec/loophp/phptree/Traverser/BreadthFirstSpec.php

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

3+
/**
4+
* For the full copyright and license information, please view
5+
* the LICENSE file that was distributed with this source code.
6+
*/
7+
38
declare(strict_types=1);
49

510
namespace spec\loophp\phptree\Traverser;

spec/loophp/phptree/Traverser/InOrderSpec.php

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

3+
/**
4+
* For the full copyright and license information, please view
5+
* the LICENSE file that was distributed with this source code.
6+
*/
7+
38
declare(strict_types=1);
49

510
namespace spec\loophp\phptree\Traverser;

spec/loophp/phptree/Traverser/PostOrderSpec.php

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

3+
/**
4+
* For the full copyright and license information, please view
5+
* the LICENSE file that was distributed with this source code.
6+
*/
7+
38
declare(strict_types=1);
49

510
namespace spec\loophp\phptree\Traverser;

spec/loophp/phptree/Traverser/PreOrderSpec.php

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

3+
/**
4+
* For the full copyright and license information, please view
5+
* the LICENSE file that was distributed with this source code.
6+
*/
7+
38
declare(strict_types=1);
49

510
namespace spec\loophp\phptree\Traverser;

src/Builder/BuilderInterface.php

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

3+
/**
4+
* For the full copyright and license information, please view
5+
* the LICENSE file that was distributed with this source code.
6+
*/
7+
38
declare(strict_types=1);
49

510
namespace loophp\phptree\Builder;

0 commit comments

Comments
 (0)