Skip to content

Commit

Permalink
Fix rector CI
Browse files Browse the repository at this point in the history
  • Loading branch information
dimitriBouteille committed Feb 11, 2024
1 parent 55b71e9 commit 8f17795
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/styles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ jobs:
- name: PHPCsFixer
run: composer csFixer

- name: PHPStan Analyse
run: composer phpstan

- name: Rector
run: composer rector

- name: PHPStan Analyse
run: composer phpstan
4 changes: 2 additions & 2 deletions src/Tests/Unit/Models/CustomPostTypeTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ class CustomPostTypeTest extends TestCase
{
/**
* @throws \Dbout\WpOrm\Exceptions\NotAllowedException
* @return void
* @return never
* @covers ::setPostType
*/
public function testSetPostTypeException(): void
public function testSetPostTypeException(): never
{
$model = new Attachment();
$this->expectException(CannotOverrideCustomTypeException::class);
Expand Down

0 comments on commit 8f17795

Please sign in to comment.