Skip to content

Commit

Permalink
update minimum php version, phpunit and phpcs
Browse files Browse the repository at this point in the history
  • Loading branch information
jjgrainger committed Apr 12, 2020
1 parent 4ee8da6 commit 7f4bd63
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 6 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
composer.phar
composer.lock
.DS_Store
.phpunit.result.cache
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@
],
"minimum-stability": "dev",
"require": {
"php": ">=5.6"
"php": ">=7.2"
},
"require-dev": {
"squizlabs/php_codesniffer": "^2.8",
"phpunit/phpunit": "5.7"
"phpunit/phpunit": "8.*",
"squizlabs/php_codesniffer": "3.*"
},
"autoload": {
"psr-4": { "PostTypes\\": "src/" }
Expand Down
2 changes: 1 addition & 1 deletion tests/ColumnsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

class ColumnsTest extends TestCase
{
public function setUp()
protected function setUp(): void
{
$this->columns = new Columns;
}
Expand Down
3 changes: 2 additions & 1 deletion tests/PostTypeTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@

class PostTypeTest extends TestCase
{
public function setUp() {
protected function setUp(): void
{
// setup basic PostType
$this->books = new PostType('book');
}
Expand Down
2 changes: 1 addition & 1 deletion tests/TaxonomyTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

class TaxonomyTest extends TestCase
{
public function setUp()
protected function setUp(): void
{
$this->genres = new Taxonomy('genre');
}
Expand Down

0 comments on commit 7f4bd63

Please sign in to comment.