Skip to content
This repository was archived by the owner on Jan 24, 2024. It is now read-only.

Commit fc77c67

Browse files
committed
psr-12
1 parent 8f74571 commit fc77c67

File tree

4 files changed

+6
-18
lines changed

4 files changed

+6
-18
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ language: php
33
php:
44
- 7.1
55
- 7.2
6-
- nightly
6+
- 7.3
77

88
before_install:
99
- composer self-update

src/Exception/SerializeException.php

Lines changed: 0 additions & 14 deletions
This file was deleted.

src/GraphSorter.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,17 @@
55
* @license MIT
66
* @author Anton Titov (Wolfy-J)
77
*/
8+
declare(strict_types=1);
89

910
namespace Spiral\Helpers;
1011

1112
/**
1213
* Topological Sorting vs Depth First Traversal (DFS)
1314
* https://en.wikipedia.org/wiki/Topological_sorting.
1415
*/
15-
class GraphSorter
16+
final class GraphSorter
1617
{
17-
const STATE_NEW = 1;
18+
const STATE_NEW = 1;
1819
const STATE_PASSED = 2;
1920

2021
/** @var array string[] */

src/Strings.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,14 @@
55
* @license MIT
66
* @author Anton Titov (Wolfy-J)
77
*/
8+
declare(strict_types=1);
89

910
namespace Spiral\Helpers;
1011

1112
use Cocur\Slugify\Slugify;
1213
use Cocur\Slugify\SlugifyInterface;
1314

14-
class Strings
15+
final class Strings
1516
{
1617
/** @var SlugifyInterface */
1718
private static $slugify;

0 commit comments

Comments
 (0)