Skip to content

Commit

Permalink
Merge pull request #25 from GhazanfarMir/update_phpunit
Browse files Browse the repository at this point in the history
Upgrade phpunit
  • Loading branch information
GhazanfarMir authored Apr 1, 2020
2 parents 2a37de1 + 8948639 commit bed4329
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 10 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,4 @@ Homestead.json
# Rocketeer PHP task runner and deployment package. https://github.com/rocketeers/rocketeer
.rocketeer/
/composer.lock
*.phpunit.result.cache
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"illuminate/support": "^5.4"
},
"require-dev": {
"phpunit/phpunit": "^5.7"
"phpunit/phpunit": "^8.3"
},
"autoload": {
"psr-4": {
Expand Down
5 changes: 0 additions & 5 deletions phpunit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,10 @@
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false"
syntaxCheck="false"
>
<testsuites>
<testsuite name="CompaniesHouse Test Suite">
<directory suffix=".php">./tests/</directory>
</testsuite>
<php>
<ini name="display_errors" value="On" />
<ini name="display_startup_errors" value="On" />
</php>
</testsuites>
</phpunit>
2 changes: 1 addition & 1 deletion src/CompaniesHouse.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
namespace GhazanfarMir\CompaniesHouse;

use GhazanfarMir\CompaniesHouse\Http\Client;
use GhazanfarMir\CompaniesHouse\Resources\Search;
use GhazanfarMir\CompaniesHouse\Resources\Charges;
use GhazanfarMir\CompaniesHouse\Resources\Company;
use GhazanfarMir\CompaniesHouse\Resources\FilingHistory;
use GhazanfarMir\CompaniesHouse\Resources\Search;

/**
* Class CompaniesHouse.
Expand Down
2 changes: 1 addition & 1 deletion src/CompaniesHouseServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

namespace GhazanfarMir\CompaniesHouse;

use Illuminate\Support\ServiceProvider;
use GhazanfarMir\CompaniesHouse\Http\Client;
use Illuminate\Support\ServiceProvider;

class CompaniesHouseServiceProvider extends ServiceProvider
{
Expand Down
4 changes: 2 additions & 2 deletions tests/Features/CompaniesHouseBaseTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

namespace GhazanfarMir\CompaniesHouse\Tests\Features;

use PHPUnit\Framework\TestCase;
use GhazanfarMir\CompaniesHouse\Http\Client;
use GhazanfarMir\CompaniesHouse\CompaniesHouse;
use GhazanfarMir\CompaniesHouse\Http\Client;
use PHPUnit\Framework\TestCase;

abstract class CompaniesHouseBaseTest extends TestCase
{
Expand Down

0 comments on commit bed4329

Please sign in to comment.