Skip to content

Commit bd4e866

Browse files
committed
fix php-cs-fixer issues.
1 parent 2995232 commit bd4e866

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

tests/Feature/RequestControllerShowTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class RequestControllerShowTest extends TestCase
1919
protected function setUp(): void
2020
{
2121
parent::setUp();
22-
22+
2323
$this->user = User::factory()->create([
2424
'is_administrator' => true,
2525
]);
@@ -88,10 +88,10 @@ public function testShowPageRendersManagerModelerScripts()
8888

8989
// Get the filtered scripts (should exclude the disabled ones)
9090
$managerModelerScripts = $response->viewData('managerModelerScripts');
91-
91+
9292
// Assert that the filtered scripts contain only the allowed scripts
9393
$this->assertCount(2, $managerModelerScripts);
94-
94+
9595
// Check that the disabled scripts are filtered out
9696
$scriptSources = array_column($managerModelerScripts, 'src');
9797
$this->assertContains('/js/test-script-1.js', $scriptSources);
@@ -105,7 +105,7 @@ public function testShowPageRendersManagerModelerScripts()
105105
$response->assertSee('type="module"', false);
106106
$response->assertSee('async');
107107
$response->assertSee('defer');
108-
108+
109109
// Assert that disabled scripts are not rendered
110110
$response->assertDontSee('/js/package-slideshow.js');
111111
$response->assertDontSee('/js/package-process-optimization.js');

tests/unit/FileSizeCheckTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
namespace Tests\Unit\Middleware;
44

55
use Illuminate\Http\UploadedFile;
6-
use PHPUnit\Framework\Attributes\AllowMockObjectsWithoutExpectations;
76
use Illuminate\Support\Facades\Route;
7+
use PHPUnit\Framework\Attributes\AllowMockObjectsWithoutExpectations;
88
use ProcessMaker\Http\Middleware\FileSizeCheck;
99
use ProcessMaker\Models\ProcessRequest;
1010
use ProcessMaker\Models\User;

tests/unit/ProcessMaker/Cache/Screens/ScreenCacheFactoryTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
namespace Tests\Unit\ProcessMaker\Cache\Screens;
44

55
use Illuminate\Cache\CacheManager;
6-
use PHPUnit\Framework\Attributes\AllowMockObjectsWithoutExpectations;
76
use Illuminate\Support\Facades\Config;
7+
use PHPUnit\Framework\Attributes\AllowMockObjectsWithoutExpectations;
88
use ProcessMaker\Cache\CacheInterface;
99
use ProcessMaker\Cache\Monitoring\CacheMetricsDecorator;
1010
use ProcessMaker\Cache\Monitoring\RedisMetricsManager;

0 commit comments

Comments
 (0)