Skip to content

Commit

Permalink
Fix remaining warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
LukeTowers committed Dec 11, 2024
1 parent f2e7289 commit 041dbb1
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@

use php_user_filter;

// phpcs:disable
stream_filter_register(TranscodeFilter::FILTER_NAME . "*", TranscodeFilter::class);
// phpcs:enable

/**
* Transcode stream filter.
Expand Down
4 changes: 0 additions & 4 deletions modules/backend/tests/models/ExportModelTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@
use Illuminate\Http\Request;
use System\Tests\Bootstrap\TestCase;

if (!class_exists('Model')) {
class_alias('Winter\Storm\Database\Model', 'Model');
}

class ExampleExportModel extends ExportModel
{
public function exportData($columns, $sessionKey = null)
Expand Down
4 changes: 0 additions & 4 deletions modules/backend/tests/models/ImportModelTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@
use System\Models\File as FileModel;
use System\Tests\Bootstrap\PluginTestCase;

if (!class_exists('Model')) {
class_alias('Winter\Storm\Database\Model', 'Model');
}

class ExampleImportModel extends ImportModel
{
public $rules = [];
Expand Down
1 change: 0 additions & 1 deletion phpcs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
<arg name="extensions" value="php" />
<arg name="colors" />

<file>bootstrap/</file>
<file>config/</file>
<file>modules/</file>
<file>plugins/winter/demo/</file>
Expand Down

0 comments on commit 041dbb1

Please sign in to comment.