Rollback e2e define-contant as found error in consumer (#2379)

This commit is contained in:
Abdul Malik Ikhsan 2022-05-27 23:15:01 +07:00 committed by GitHub
parent 38ed8d2f6d
commit 30b5b53c0e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 19 additions and 0 deletions

View File

@ -17,6 +17,7 @@ jobs:
matrix:
php_version: ['7.2', '7.3', '7.4', '8.0', '8.1']
directory:
- 'e2e/define-constant'
- 'e2e/dont-execute-code'
- 'e2e/finalize'
- 'e2e/parse-php7-code'

View File

@ -0,0 +1,4 @@
{
"autoload": {
}
}

View File

@ -0,0 +1,9 @@
<?php
declare(strict_types=1);
use Rector\Config\RectorConfig;
return static function (RectorConfig $rectorConfig): void {
$rectorConfig->paths([__DIR__ . '/src']);
};

View File

@ -0,0 +1,5 @@
<?php
if (! defined('APPPATH')) {
define('APPPATH', realpath(rtrim($paths->appDirectory, '\\/ ')) . DIRECTORY_SEPARATOR);
}