Browse Source

Misc meta updates

Timothy J. Warren 1 year ago
parent
commit
ba7d95ee4f
3 changed files with 2 additions and 4 deletions
  1. 0
    2
      .gitlab-ci.yml
  2. 0
    1
      build/phpunit.xml
  3. 2
    1
      composer.json

+ 0
- 2
.gitlab-ci.yml View File

@@ -3,7 +3,6 @@ test:7:
3 3
       - sh build/docker_install.sh > /dev/null
4 4
       - apk add --no-cache php7-phpdbg
5 5
       - curl -sS https://getcomposer.org/installer | php
6
-      - php composer.phar update  --ignore-platform-reqs
7 6
       - php composer.phar install --ignore-platform-reqs
8 7
     image: php:7-alpine
9 8
     script:
@@ -14,7 +13,6 @@ test:7.1:
14 13
       - sh build/docker_install.sh > /dev/null
15 14
       - apk add --no-cache php7.1-phpdbg
16 15
       - curl -sS https://getcomposer.org/installer | php
17
-      - php composer.phar update  --ignore-platform-reqs
18 16
       - php composer.phar install --ignore-platform-reqs
19 17
     image: php:7.1-alpine
20 18
     script:

+ 0
- 1
build/phpunit.xml View File

@@ -4,7 +4,6 @@
4 4
 	stopOnFailure="false"
5 5
 	bootstrap="../tests/bootstrap.php"
6 6
 	beStrictAboutTestsThatDoNotTestAnything="true"
7
-	checkForUnintentionallyCoveredCode="true"
8 7
 	>
9 8
 	<filter>
10 9
 		<whitelist>

+ 2
- 1
composer.json View File

@@ -41,9 +41,10 @@
41 41
 		"phpstan/phpstan": "^0.6.4"
42 42
 	},
43 43
 	"scripts": {
44
-		"coverage": "vendor/bin/phpunit -c build",
44
+		"coverage": "phpdbg -qrr -- vendor/bin/phpunit -c build",
45 45
 		"build": "vendor/bin/robo build",
46 46
 		"docs": "cd build && ../vendor/bin/phpdox && cd ..",
47
+		"phpstan": "phpstan analyse src tests",
47 48
 		"test": "vendor/bin/phpunit"
48 49
 	},
49 50
 	"suggest": {