Browse code

Adjust some project configs and presets

Benjamin Roth authored on26/11/2018 22:15:36
Showing3 changed files
... ...
@@ -17,6 +17,8 @@ return PhpCsFixer\Config::create()
17 17
     ->setRules([
18 18
         '@Symfony' => true,
19 19
         '@Symfony:risky' => true,
20
+        '@PHP71Migration' => true,
21
+        '@PHP71Migration:risky' => true,
20 22
         '@PHPUnit60Migration:risky' => true,
21 23
         'align_multiline_comment' => true,
22 24
         'array_syntax' => ['syntax' => 'short'],
... ...
@@ -10,7 +10,7 @@
10 10
         }
11 11
     ],
12 12
     "require": {
13
-        "php": ">=7.1",
13
+        "php": "^7.1",
14 14
         "contao/core-bundle": "^4.6"
15 15
     },
16 16
     "conflict": {
... ...
@@ -1,7 +1,7 @@
1 1
 <?xml version="1.0" encoding="UTF-8"?>
2 2
 
3 3
 <phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4
-         xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/5.0/phpunit.xsd"
4
+         xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/6.0/phpunit.xsd"
5 5
          backupGlobals="false"
6 6
          colors="true"
7 7
 >