Skip to content

Commit e2fb9f0

Browse files
committed
Fix some code styling
1 parent 97aed5b commit e2fb9f0

4 files changed

Lines changed: 10 additions & 8 deletions

File tree

‎ProcessMaker/Exception/ExpressionFailedException.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class ExpressionFailedException extends Exception
1515
{
1616

1717
/**
18-
* @param \Throwable $previous
18+
* @param Throwable $previous
1919
*/
2020
public function __construct(Throwable $previous)
2121
{

‎ProcessMaker/Exception/SyntaxErrorException.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class SyntaxErrorException extends Exception
1515
{
1616

1717
/**
18-
* @param \Throwable $previous
18+
* @param Throwable $previous
1919
*/
2020
public function __construct(Throwable $previous)
2121
{

‎ProcessMaker/Models/FormalExpression.php‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22

33
namespace ProcessMaker\Models;
44

5+
use ProcessMaker\Exception\ExpressionFailedException;
56
use ProcessMaker\Exception\ScriptLanguageNotSupported;
7+
use ProcessMaker\Exception\SyntaxErrorException;
68
use ProcessMaker\Nayra\Bpmn\BaseTrait;
79
use ProcessMaker\Nayra\Contracts\Bpmn\FormalExpressionInterface;
810
use Symfony\Component\ExpressionLanguage\ExpressionLanguage;
911
use Symfony\Component\ExpressionLanguage\SyntaxError;
10-
use ProcessMaker\Exception\ExpressionFailedException;
11-
use ProcessMaker\Exception\SyntaxErrorException;
1212
use Throwable;
1313

1414
/**

‎tests/Feature/FEELTest.php‎

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
<?php
22
namespace Tests\Feature;
33

4-
use Illuminate\Support\Facades\Cache;
5-
use Tests\TestCase;
6-
use ProcessMaker\Models\FormalExpression;
4+
use ProcessMaker\Exception\ExpressionFailedException;
75
use ProcessMaker\Exception\ScriptLanguageNotSupported;
86
use ProcessMaker\Exception\SyntaxErrorException;
9-
use ProcessMaker\Exception\ExpressionFailedException;
7+
use ProcessMaker\Models\FormalExpression;
8+
use Tests\TestCase;
109

10+
/**
11+
* Test friendly enough expression language evaluator
12+
*/
1113
class FEELTest extends TestCase
1214
{
1315

0 commit comments

Comments
 (0)