File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 {
Original file line number Diff line number Diff 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 {
Original file line number Diff line number Diff line change 22
33namespace ProcessMaker \Models ;
44
5+ use ProcessMaker \Exception \ExpressionFailedException ;
56use ProcessMaker \Exception \ScriptLanguageNotSupported ;
7+ use ProcessMaker \Exception \SyntaxErrorException ;
68use ProcessMaker \Nayra \Bpmn \BaseTrait ;
79use ProcessMaker \Nayra \Contracts \Bpmn \FormalExpressionInterface ;
810use Symfony \Component \ExpressionLanguage \ExpressionLanguage ;
911use Symfony \Component \ExpressionLanguage \SyntaxError ;
10- use ProcessMaker \Exception \ExpressionFailedException ;
11- use ProcessMaker \Exception \SyntaxErrorException ;
1212use Throwable ;
1313
1414/**
Original file line number Diff line number Diff line change 11<?php
22namespace Tests \Feature ;
33
4- use Illuminate \Support \Facades \Cache ;
5- use Tests \TestCase ;
6- use ProcessMaker \Models \FormalExpression ;
4+ use ProcessMaker \Exception \ExpressionFailedException ;
75use ProcessMaker \Exception \ScriptLanguageNotSupported ;
86use 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+ */
1113class FEELTest extends TestCase
1214{
1315
You can’t perform that action at this time.
0 commit comments