Skip to content

Commit d764f3d

Browse files
committed
fix
1 parent b0b24df commit d764f3d

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

Makefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,7 @@ test:
55
composer phpunit tests
66

77
lint:
8-
composer phpcs src tests
8+
composer exec phpcs
9+
10+
lint-fix:
11+
composer exec phpcbf

composer.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,6 @@
33
"description": "Pairs implementation",
44
"license": "MIT",
55
"keywords": ["pairs"],
6-
"scripts": {
7-
"phpunit": "phpunit",
8-
"phpcs": "phpcs"
9-
},
106
"authors": [
117
{
128
"name": "Kirill Mokevnin",

phpcs.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,6 @@
55
<arg name="colors"/>
66

77
<rule ref="PSR12"></rule>
8+
<file>src</file>
9+
<file>tests</file>
810
</ruleset>

src/Pairs.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
namespace Php\Pairs\Pairs;
44

55
use Closure;
6-
use function is_callable;
76

87
/**
98
* Creates a pair with two values

0 commit comments

Comments
 (0)