Skip to content

Commit

Permalink
[phalcon#16604] - fix: fixed cs error and psalm warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
noone-silent committed Jun 10, 2024
1 parent d351f38 commit f8af0bc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,6 @@
"test-db-sqlite": "php -d extension=ext/modules/phalcon.so ./vendor/bin/codecept run --ext DotReporter database --env sqlite -g sqlite",
"test-db": "composer test-db-common && composer test-db-mysql && composer test-db-sqlite",
"test-all": "composer test-unit && composer test-cli && composer test-integration && composer test-db",
"analyze": "php -d extension=ext/modules/phalcon.so ./vendor/bin/psalm"
"analyze": "php -d extension=ext/modules/phalcon.so ./vendor/bin/psalm --no-cache"
}
}
2 changes: 2 additions & 0 deletions psalm.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
<psalm
errorLevel="1"
resolveFromConfigFile="true"
findUnusedCode="false"
findUnusedBaselineEntry="false"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="https://getpsalm.org/schema/config"
xsi:schemaLocation="https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd"
Expand Down
1 change: 0 additions & 1 deletion tests/database/Mvc/Model/Query/RollbackOnExceptionCest.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
use Phalcon\Tests\Fixtures\Migrations\RollbackTestMigration;
use Phalcon\Tests\Fixtures\Traits\DiTrait;
use Phalcon\Tests\Fixtures\Traits\RecordsTrait;

use PDOException;

class RollbackOnExceptionCest
Expand Down

0 comments on commit f8af0bc

Please sign in to comment.