Skip to content

Commit 5951e2a

Browse files
committed
Adds find ancestors tests
1 parent c100ca0 commit 5951e2a

File tree

8 files changed

+272
-137
lines changed

8 files changed

+272
-137
lines changed

Makefile

+9
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,17 @@
11
#!/usr/bin/make -f
22

3+
PHPCS_STANDARD="vendor/drupal/coder/coder_sniffer/Drupal"
4+
PHPCS_DIRS=src tests
5+
36
init:
47
composer install --prefer-dist --no-progress
58

9+
lint-php:
10+
bin/phpcs --standard=${PHPCS_STANDARD} ${PHPCS_DIRS}
11+
12+
fix-php:
13+
bin/phpcbf --standard=${PHPCS_STANDARD} ${PHPCS_DIRS}
14+
615
test:
716
bin/phpunit
817

composer.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,13 @@
1010
}
1111
],
1212
"minimum-stability": "dev",
13+
"prefer-stable": true,
1314
"require": {
1415
"doctrine/dbal": "~2.5"
1516
},
1617
"require-dev": {
17-
"phpunit/phpunit": "~4.8"
18+
"phpunit/phpunit": "~4.8",
19+
"drupal/coder": "~8.0"
1820
},
1921
"autoload": {
2022
"psr-4": {

0 commit comments

Comments
 (0)