Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove psalm83.xml #381

Merged
merged 1 commit into from
Aug 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 1 addition & 9 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,4 @@ jobs:
os: >-
['ubuntu-latest']
php: >-
['8.1', '8.2']
psalm83:
uses: yiisoft/actions/.github/workflows/psalm.yml@master
with:
psalm-config: psalm83.xml
os: >-
['ubuntu-latest']
php: >-
['8.3']
['8.1', '8.2', '8.3']
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"rector/rector": "^1.0",
"roave/infection-static-analysis-plugin": "^1.34",
"spatie/phpunit-watcher": "^1.23",
"vimeo/psalm": "^5.20",
"vimeo/psalm": "^5.25",
"yiisoft/aliases": "^2.0",
"yiisoft/arrays": "^3.1",
"yiisoft/cache": "^3.0",
Expand Down
22 changes: 0 additions & 22 deletions psalm83.xml

This file was deleted.

12 changes: 12 additions & 0 deletions src/TransactionalInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,30 @@ interface TransactionalInterface
/**
* The insert operation. This is mainly used when overriding {@see transactions()} to specify which operations are
* transactional.
*
* @var int
*
* @psalm-suppress MissingClassConstType
*/
public const OP_INSERT = 0x01;

/**
* The update operation. This is mainly used when overriding {@see transactions()} to specify which operations are
* transactional.
*
* @var int
*
* @psalm-suppress MissingClassConstType
*/
public const OP_UPDATE = 0x02;

/**
* The delete operation. This is mainly used when overriding {@see transactions()} to specify which operations are
* transactional.
*
* @var int
*
* @psalm-suppress MissingClassConstType
*/
public const OP_DELETE = 0x04;

Expand Down
Loading