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

Commit

Permalink
psr-12
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfy-j committed Apr 30, 2019
1 parent 8f74571 commit fc77c67
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ language: php
php:
- 7.1
- 7.2
- nightly
- 7.3

before_install:
- composer self-update
Expand Down
14 changes: 0 additions & 14 deletions src/Exception/SerializeException.php

This file was deleted.

5 changes: 3 additions & 2 deletions src/GraphSorter.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,17 @@
* @license MIT
* @author Anton Titov (Wolfy-J)
*/
declare(strict_types=1);

namespace Spiral\Helpers;

/**
* Topological Sorting vs Depth First Traversal (DFS)
* https://en.wikipedia.org/wiki/Topological_sorting.
*/
class GraphSorter
final class GraphSorter
{
const STATE_NEW = 1;
const STATE_NEW = 1;
const STATE_PASSED = 2;

/** @var array string[] */
Expand Down
3 changes: 2 additions & 1 deletion src/Strings.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,14 @@
* @license MIT
* @author Anton Titov (Wolfy-J)
*/
declare(strict_types=1);

namespace Spiral\Helpers;

use Cocur\Slugify\Slugify;
use Cocur\Slugify\SlugifyInterface;

class Strings
final class Strings
{
/** @var SlugifyInterface */
private static $slugify;
Expand Down

0 comments on commit fc77c67

Please sign in to comment.