Skip to content

Commit c9bdb6e

Browse files
authored
Merge pull request #14 from mesour/mn-patch-01
Updated readme
2 parents 8e5cc47 + c2ef4f3 commit c9bdb6e

File tree

2 files changed

+23
-13
lines changed

2 files changed

+23
-13
lines changed

README.md

Lines changed: 22 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -116,18 +116,6 @@ Assert::true($recordDiff->isDifferent());
116116
$recordDiff->getSimilarRecords();
117117
```
118118

119-
# Tests
120-
121-
Run command `vendor/bin/tester tests/ -s -c tests/php.ini --colors`
122-
123-
## PHP Stan
124-
125-
Run command `vendor/bin/phpstan analyse -l 7 -c phpstan.neon src tests`
126-
127-
## Code style
128-
129-
Run command `vendor/bin/phpcs --standard=ruleset.xml --extensions=php,phpt --encoding=utf-8 --tab-width=4 -sp src tests`
130-
131119
## Mock DNS record provider
132120

133121
For mock DNS provider your tests can use `Mesour\DnsChecker\StaticDnsRecordProvider` or `Mesour\DnsChecker\ArrayDnsRecordProvider`.
@@ -145,3 +133,25 @@ $provider = new \Mesour\DnsChecker\Providers\StaticDnsRecordProvider([
145133
],
146134
]);
147135
```
136+
137+
# Development
138+
139+
Run command `make qa`
140+
141+
## PhpUnit
142+
143+
Run command `make phpunit`
144+
145+
## PHP Stan
146+
147+
Run command `make phpstan`
148+
149+
## Code style
150+
151+
Run command `make cs`
152+
153+
Run command `make csf` for fix
154+
155+
## Parallel lint
156+
157+
Run command `make lint`

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
}],
1010
"require": {
1111
"php": ">=8.0",
12-
"mesour/ip-addresses": "^0.2.0"
12+
"mesour/ip-addresses": "^0.3.0"
1313
},
1414
"require-dev": {
1515
"tracy/tracy": "^2.9.0",

0 commit comments

Comments
 (0)