File tree 5 files changed +10
-18
lines changed
5 files changed +10
-18
lines changed Original file line number Diff line number Diff line change 9
9
runs-on : ubuntu-latest
10
10
strategy :
11
11
matrix :
12
- php : [ 7.0, 7.1 ]
12
+ php : [ 7.4, 8.0 ]
13
13
steps :
14
14
- uses : actions/checkout@v2
15
15
- uses : shivammathur/setup-php@v2
18
18
19
19
- run : make composer
20
20
21
- - if : matrix.php == '7.1'
22
- run : make phpstan
21
+ - run : make phpstan
23
22
24
23
- run : make run-tests
Original file line number Diff line number Diff line change 6
6
vendor/bin/phpstan analyse -l 5 -c phpstan.neon src/
7
7
8
8
run-tests :
9
- vendor/bin/tester tests
9
+ vendor/bin/tester tests -d extension=tokenizer.so
Original file line number Diff line number Diff line change 21
21
}
22
22
],
23
23
"require" : {
24
- "php" : " ~7.0" ,
25
- "nette/application" : " >= 2.2.10 < 2.3.0 "
24
+ "php" : " ~7.4 | ~8. 0" ,
25
+ "nette/application" : " ^2.4 "
26
26
},
27
27
"require-dev" : {
28
- "phpstan/phpstan" : " ~0.6 .0" ,
29
- "nette/tester" : " ~1.7 .0" ,
30
- "mockery/mockery" : " ~0.9 .0"
28
+ "phpstan/phpstan" : " ^1 .0" ,
29
+ "nette/tester" : " ^2 .0" ,
30
+ "mockery/mockery" : " ^1 .0"
31
31
},
32
32
"autoload" : {
33
33
"psr-4" : {
Original file line number Diff line number Diff line change 1
1
parameters :
2
2
ignoreErrors :
3
- - ' #Call to an undefined method [a-zA-Z0-9\\_ ]+::renderAsync\ (\)#'
4
- - ' #Call to an undefined method [a-zA-Z0-9\\_ ]+::render\ (\)#'
5
3
fileExtensions :
6
4
- phpt
7
5
8
- autoload_directories :
9
- # - %rootDir%/../../../test
10
-
6
+ treatPhpDocTypesAsCertain : false
Original file line number Diff line number Diff line change 8
8
9
9
10
10
/**
11
- * @method render
11
+ * @method render()
12
12
*/
13
13
trait AsyncControlTrait
14
14
{
@@ -31,9 +31,6 @@ public function handleAsyncLoad()
31
31
} catch (\Throwable $ e ) {
32
32
ob_end_clean ();
33
33
throw $ e ;
34
- } catch (\Exception $ e ) {
35
- ob_end_clean ();
36
- throw $ e ;
37
34
}
38
35
$ content = ob_get_clean ();
39
36
$ presenter ->getPayload ()->snippets [$ this ->getSnippetId ('async ' )] = $ content ;
You can’t perform that action at this time.
0 commit comments