Skip to content

Commit

Permalink
[CI] Enable zend.assertions=1 on CI (#3823)
Browse files Browse the repository at this point in the history
Co-authored-by: GitHub Action <actions@github.com>
  • Loading branch information
samsonasik and actions-user committed May 13, 2023
1 parent ed49416 commit 56e1346
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ jobs:
with:
php-version: ${{ matrix.php }}
coverage: none
# to display warning when assert() is called, eg: on direct getArgs() on CallLike
# and check against first class callable strlen(...)
ini-values: zend.assertions=1

- uses: "ramsey/composer-install@v2"

Expand Down
1 change: 0 additions & 1 deletion rules/Renaming/Rector/Name/RenameClassRector.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
use PHPStan\Analyser\Scope;
use Rector\Core\Configuration\RenamedClassesDataCollector;
use Rector\Core\Contract\Rector\ConfigurableRectorInterface;
use Rector\Core\Rector\AbstractRector;
use Rector\Core\Rector\AbstractScopeAwareRector;
use Rector\NodeNameResolver\NodeNameResolver;
use Rector\Renaming\Helper\RenameClassCallbackHandler;
Expand Down

0 comments on commit 56e1346

Please sign in to comment.