Skip to content

Commit 576a4ee

Browse files
authored
Merge pull request #31 from victorhsanjos/update
Atualização dos requisitos e testes
2 parents 58b5e43 + 147b87b commit 576a4ee

File tree

4 files changed

+15
-12
lines changed

4 files changed

+15
-12
lines changed

composer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@
99
}
1010
],
1111
"require": {
12-
"laravel/framework": "^6.0"
12+
"php": "^7.2"
1313
},
1414
"require-dev": {
15-
"laravel/laravel": "^6.0",
16-
"phpunit/phpunit": "^7.5"
15+
"phpunit/phpunit": "^8.3",
16+
"orchestra/testbench": "^4.0"
1717
},
1818
"autoload": {
1919
"psr-4": {
@@ -25,4 +25,4 @@
2525
"geekcom\\ValidatorDocs\\Tests\\": "tests"
2626
}
2727
}
28-
}
28+
}

phpcs.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<?xml version="1.0"?>
2+
<ruleset>
3+
<file>./</file>
4+
<exclude-pattern>./vendor/*</exclude-pattern>
5+
<rule ref="PSR1" />
6+
</ruleset>

tests/ValidatorTestCase.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
<?php
22

3+
namespace geekcom\ValidatorDocs\Tests;
4+
5+
use Orchestra\Testbench\TestCase;
6+
37
abstract class ValidatorTestCase extends TestCase
48
{
5-
public function setUp()
9+
public function setUp(): void
610
{
711
parent::setUp();
812

tests/bootstrap.php

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)