diff --git a/.styleci.yml b/.styleci.yml index 0f9c088..7f00acc 100644 --- a/.styleci.yml +++ b/.styleci.yml @@ -1,8 +1,4 @@ -preset: psr2 - -finder: - exclude: - - "tests" +preset: psr12 enabled: - no_unneeded_control_parentheses diff --git a/composer.json b/composer.json index 5dd8a1e..fd0ca50 100644 --- a/composer.json +++ b/composer.json @@ -1,14 +1,17 @@ { "name": "rogervila/array-diff-multidimensional", "description": "Compare the difference between two multidimensional arrays", - "type": "library", "license": "MIT", + "type": "library", "authors": [ { "name": "Roger VilĂ ", "email": "rogervila@me.com" } ], + "require-dev": { + "phpunit/phpunit": "^4.8 || ^5.0 || ^6.0 || ^7.0 || ^8.0 || ^9.0 || ^10.0" + }, "autoload": { "psr-4": { "Rogervila\\": "src/" @@ -16,13 +19,5 @@ "files": [ "src/helpers.php" ] - }, - "autoload-dev": { - "psr-4": { - "Rogervila\\Tests\\": "tests/" - } - }, - "require-dev": { - "phpunit/phpunit": "^4.8 || ^5.0 || ^6.0 || ^7.0 || ^8.0 || ^9.0" } } diff --git a/src/helpers.php b/src/helpers.php index 14a69ce..e9a2ec9 100644 --- a/src/helpers.php +++ b/src/helpers.php @@ -3,7 +3,6 @@ use Rogervila\ArrayDiffMultidimensional; if (!function_exists('array_diff_multidimensional')) { - /** * Returns an array with the differences between $array1 and $array2 * $strict variable defines if comparison must be strict or not diff --git a/tests/ArrayCompareTest.php b/tests/ArrayCompareTest.php index 1bd474e..b09c5c9 100644 --- a/tests/ArrayCompareTest.php +++ b/tests/ArrayCompareTest.php @@ -1,7 +1,5 @@