Skip to content

Commit

Permalink
refactor: Autofix code-style.
Browse files Browse the repository at this point in the history
  • Loading branch information
drupol committed May 10, 2021
1 parent aba5b39 commit 5bcbe38
Show file tree
Hide file tree
Showing 73 changed files with 374 additions and 191 deletions.
27 changes: 13 additions & 14 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,21 +1,20 @@
MIT License
The MIT License (MIT)

Copyright (c) 2018 Pol Dellaiera
Copyright (c) 2018-2021 Pol Dellaiera

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

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

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
5 changes: 5 additions & 0 deletions spec/loophp/phptree/Builder/RandomSpec.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
<?php

/**
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/

declare(strict_types=1);

namespace spec\loophp\phptree\Builder;
Expand Down
5 changes: 5 additions & 0 deletions spec/loophp/phptree/Exporter/AsciiSpec.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
<?php

/**
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/

declare(strict_types=1);

namespace spec\loophp\phptree\Exporter;
Expand Down
8 changes: 5 additions & 3 deletions spec/loophp/phptree/Exporter/GraphSpec.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
<?php

/**
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/

declare(strict_types=1);

namespace spec\loophp\phptree\Exporter;
Expand All @@ -18,9 +23,6 @@
*/
class GraphSpec extends ObjectBehavior
{
/**
* {@inheritdoc}
*/
public function getMatchers(): array
{
return [
Expand Down
5 changes: 5 additions & 0 deletions spec/loophp/phptree/Exporter/GvSpec.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
<?php

/**
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/

declare(strict_types=1);

namespace spec\loophp\phptree\Exporter;
Expand Down
5 changes: 5 additions & 0 deletions spec/loophp/phptree/Exporter/ImageSpec.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
<?php

/**
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/

declare(strict_types=1);

namespace spec\loophp\phptree\Exporter;
Expand Down
5 changes: 5 additions & 0 deletions spec/loophp/phptree/Exporter/SimpleArraySpec.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
<?php

/**
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/

declare(strict_types=1);

namespace spec\loophp\phptree\Exporter;
Expand Down
5 changes: 5 additions & 0 deletions spec/loophp/phptree/Exporter/TextSpec.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
<?php

/**
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/

declare(strict_types=1);

namespace spec\loophp\phptree\Exporter;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
<?php

/**
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/

declare(strict_types=1);

namespace spec\loophp\phptree\Importer;
Expand Down
5 changes: 5 additions & 0 deletions spec/loophp/phptree/Importer/NikicPhpAstSpec.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
<?php

/**
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/

declare(strict_types=1);

namespace spec\loophp\phptree\Importer;
Expand Down
5 changes: 5 additions & 0 deletions spec/loophp/phptree/Importer/NikicPhpParserSpec.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
<?php

/**
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/

declare(strict_types=1);

namespace spec\loophp\phptree\Importer;
Expand Down
5 changes: 5 additions & 0 deletions spec/loophp/phptree/Importer/SimpleArraySpec.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
<?php

/**
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/

declare(strict_types=1);

namespace spec\loophp\phptree\Importer;
Expand Down
5 changes: 5 additions & 0 deletions spec/loophp/phptree/Importer/TextSpec.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
<?php

/**
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/

declare(strict_types=1);

namespace spec\loophp\phptree\Importer;
Expand Down
5 changes: 5 additions & 0 deletions spec/loophp/phptree/Modifier/ApplySpec.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
<?php

/**
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/

declare(strict_types=1);

namespace spec\loophp\phptree\Modifier;
Expand Down
5 changes: 5 additions & 0 deletions spec/loophp/phptree/Modifier/FilterSpec.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
<?php

/**
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/

declare(strict_types=1);

namespace spec\loophp\phptree\Modifier;
Expand Down
5 changes: 5 additions & 0 deletions spec/loophp/phptree/Modifier/FulfillCapacitySpec.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
<?php

/**
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/

declare(strict_types=1);

namespace spec\loophp\phptree\Modifier;
Expand Down
5 changes: 5 additions & 0 deletions spec/loophp/phptree/Modifier/RemoveNullNodeSpec.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
<?php

/**
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/

declare(strict_types=1);

namespace spec\loophp\phptree\Modifier;
Expand Down
5 changes: 5 additions & 0 deletions spec/loophp/phptree/Modifier/ReverseSpec.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
<?php

/**
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/

declare(strict_types=1);

namespace spec\loophp\phptree\Modifier;
Expand Down
5 changes: 5 additions & 0 deletions spec/loophp/phptree/Node/ABNodeSpec.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
<?php

/**
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/

declare(strict_types=1);

namespace spec\loophp\phptree\Node;
Expand Down
5 changes: 5 additions & 0 deletions spec/loophp/phptree/Node/AttributeNodeSpec.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
<?php

/**
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/

declare(strict_types=1);

namespace spec\loophp\phptree\Node;
Expand Down
5 changes: 5 additions & 0 deletions spec/loophp/phptree/Node/KeyValueNodeSpec.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
<?php

/**
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/

declare(strict_types=1);

namespace spec\loophp\phptree\Node;
Expand Down
5 changes: 5 additions & 0 deletions spec/loophp/phptree/Node/MerkleNodeSpec.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
<?php

/**
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/

declare(strict_types=1);

namespace spec\loophp\phptree\Node;
Expand Down
5 changes: 5 additions & 0 deletions spec/loophp/phptree/Node/NaryNodeSpec.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
<?php

/**
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/

declare(strict_types=1);

namespace spec\loophp\phptree\Node;
Expand Down
8 changes: 5 additions & 3 deletions spec/loophp/phptree/Node/NodeObjectBehavior.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
<?php

/**
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/

declare(strict_types=1);

namespace spec\loophp\phptree\Node;
Expand All @@ -21,9 +26,6 @@
*/
abstract class NodeObjectBehavior extends ObjectBehavior
{
/**
* {@inheritdoc}
*/
public function getMatchers(): array
{
return [
Expand Down
5 changes: 5 additions & 0 deletions spec/loophp/phptree/Node/NodeSpec.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
<?php

/**
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/

declare(strict_types=1);

namespace spec\loophp\phptree\Node;
Expand Down
5 changes: 5 additions & 0 deletions spec/loophp/phptree/Node/TrieNodeSpec.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
<?php

/**
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/

declare(strict_types=1);

namespace spec\loophp\phptree\Node;
Expand Down
5 changes: 5 additions & 0 deletions spec/loophp/phptree/Node/ValueNodeSpec.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
<?php

/**
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/

declare(strict_types=1);

namespace spec\loophp\phptree\Node;
Expand Down
5 changes: 5 additions & 0 deletions spec/loophp/phptree/Traverser/BreadthFirstSpec.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
<?php

/**
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/

declare(strict_types=1);

namespace spec\loophp\phptree\Traverser;
Expand Down
5 changes: 5 additions & 0 deletions spec/loophp/phptree/Traverser/InOrderSpec.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
<?php

/**
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/

declare(strict_types=1);

namespace spec\loophp\phptree\Traverser;
Expand Down
5 changes: 5 additions & 0 deletions spec/loophp/phptree/Traverser/PostOrderSpec.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
<?php

/**
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/

declare(strict_types=1);

namespace spec\loophp\phptree\Traverser;
Expand Down
5 changes: 5 additions & 0 deletions spec/loophp/phptree/Traverser/PreOrderSpec.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
<?php

/**
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/

declare(strict_types=1);

namespace spec\loophp\phptree\Traverser;
Expand Down
5 changes: 5 additions & 0 deletions src/Builder/BuilderInterface.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
<?php

/**
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/

declare(strict_types=1);

namespace loophp\phptree\Builder;
Expand Down

0 comments on commit 5bcbe38

Please sign in to comment.