File tree Expand file tree Collapse file tree 3 files changed +10
-3
lines changed Expand file tree Collapse file tree 3 files changed +10
-3
lines changed Original file line number Diff line number Diff line change 1
- name : MyWorkshop
1
+ name : PHP8Appreciate
2
2
3
3
on :
4
4
push :
39
39
- name : Run phpstan
40
40
run : composer static
41
41
42
+ - name : Install with workshop-manager
43
+ run : |
44
+ curl -O https://php-school.github.io/workshop-manager/workshop-manager.phar
45
+ chmod +x workshop-manager.phar
46
+ ./workshop-manager.phar install php8appreciate ${{ github.head_ref }} ${{github.event.pull_request.head.repo.html_url}}
47
+ ./workshop-manager.phar installed
48
+
42
49
- name : Coverage upload
43
50
if : matrix.php == '8.0'
44
51
run : bash <(curl -s https://codecov.io/bash)
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ public function getName(): string
41
41
42
42
public function getDescription (): string
43
43
{
44
- return 'A Match Made In Heaven ' ;
44
+ return 'PHP 8 \' s Match Expression ' ;
45
45
}
46
46
47
47
public function getArgs (): array
Original file line number Diff line number Diff line change @@ -163,7 +163,7 @@ private function getPropertyVisibility(\ReflectionProperty $prop): string
163
163
return match (true ) {
164
164
$ prop ->isPrivate () => 'private ' ,
165
165
$ prop ->isProtected () => 'protected ' ,
166
- default => 'public ' ,
166
+ default => 'public ' ,
167
167
};
168
168
}
169
169
You can’t perform that action at this time.
0 commit comments