Skip to content
This repository has been archived by the owner on Feb 13, 2022. It is now read-only.

Commit

Permalink
Fix tests fixtures and code style
Browse files Browse the repository at this point in the history
  • Loading branch information
leocavalcante committed Dec 11, 2019
1 parent b09056c commit 4cdacae
Show file tree
Hide file tree
Showing 10 changed files with 12 additions and 26 deletions.
2 changes: 1 addition & 1 deletion composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions src/facades.php
Expand Up @@ -73,6 +73,8 @@
const is_empty = '\Siler\Functional\is_empty';
const isnull = '\Siler\Functional\isnull';
const concat = '\Siler\Functional\concat';
const lazy = '\Siler\Functional\lazy';
const call = '\Siler\Functional\call';


namespace Siler\Functional\Monad;
Expand Down
6 changes: 2 additions & 4 deletions tests/fixtures/resources/create.php
@@ -1,5 +1,3 @@
<?php
<?php declare(strict_types=1);

declare(strict_types=1);

echo 'resources.create' and exit();
echo 'resources.create';
4 changes: 1 addition & 3 deletions tests/fixtures/resources/destroy.php
@@ -1,5 +1,3 @@
<?php

declare(strict_types=1);
<?php declare(strict_types=1);

printf('resources.destroy %s', $params['id']);
4 changes: 1 addition & 3 deletions tests/fixtures/resources/edit.php
@@ -1,5 +1,3 @@
<?php

declare(strict_types=1);
<?php declare(strict_types=1);

printf('resources.edit %s', $params['id']);
4 changes: 1 addition & 3 deletions tests/fixtures/resources/index.php
@@ -1,5 +1,3 @@
<?php

declare(strict_types=1);
<?php declare(strict_types=1);

echo 'resources.index';
4 changes: 1 addition & 3 deletions tests/fixtures/resources/show.php
@@ -1,5 +1,3 @@
<?php

declare(strict_types=1);
<?php declare(strict_types=1);

printf('resources.show %s', $params['id']);
4 changes: 1 addition & 3 deletions tests/fixtures/resources/slug/edit.php
@@ -1,5 +1,3 @@
<?php

declare(strict_types=1);
<?php declare(strict_types=1);

printf('resources.edit %s', $params['slug']);
4 changes: 1 addition & 3 deletions tests/fixtures/resources/store.php
@@ -1,5 +1,3 @@
<?php

declare(strict_types=1);
<?php declare(strict_types=1);

printf('resources.store %s', Siler\Http\Request\post('foo'));
4 changes: 1 addition & 3 deletions tests/fixtures/resources/update.php
@@ -1,5 +1,3 @@
<?php

declare(strict_types=1);
<?php declare(strict_types=1);

printf('resources.update %s', $params['id']);

0 comments on commit 4cdacae

Please sign in to comment.