diff --git a/.github/workflows/dependency-analysis.yml b/.github/workflows/dependency-analysis.yml index 5ae7ea7..88082c6 100644 --- a/.github/workflows/dependency-analysis.yml +++ b/.github/workflows/dependency-analysis.yml @@ -46,7 +46,7 @@ jobs: uses: shivammathur/setup-php@2.31.1 with: php-version: ${{ matrix.php-version }} - extensions: none, ctype, dom, json, mbstring, simplexml, tokenizer, xml, xmlwriter, pdo, curl, fileinfo, pdo_mysql + extensions: none, ctype, dom, json, mbstring, simplexml, tokenizer, xml, xmlwriter, pdo, curl, fileinfo, pdo_mysql, sockets ini-values: error_reporting=E_ALL coverage: none tools: phive @@ -109,7 +109,7 @@ jobs: uses: shivammathur/setup-php@2.31.1 with: php-version: ${{ matrix.php-version }} - extensions: none, ctype, dom, json, mbstring, simplexml, tokenizer, xml, xmlwriter, pdo, curl, fileinfo, pdo_mysql + extensions: none, ctype, dom, json, mbstring, simplexml, tokenizer, xml, xmlwriter, pdo, curl, fileinfo, pdo_mysql, sockets ini-values: error_reporting=E_ALL coverage: none tools: phive diff --git a/.github/workflows/static-analysis.yml b/.github/workflows/static-analysis.yml index 43e7cef..4782544 100644 --- a/.github/workflows/static-analysis.yml +++ b/.github/workflows/static-analysis.yml @@ -47,7 +47,7 @@ jobs: uses: shivammathur/setup-php@2.31.1 with: php-version: ${{ matrix.php-version }} - extensions: none, ctype, dom, json, mbstring, simplexml, tokenizer, xml, xmlwriter, pdo, curl, fileinfo, pdo_mysql, opcache, pcntl, posix + extensions: none, ctype, dom, json, mbstring, simplexml, tokenizer, xml, xmlwriter, pdo, curl, fileinfo, pdo_mysql, opcache, pcntl, posix, sockets ini-values: error_reporting=E_ALL coverage: none @@ -101,7 +101,7 @@ jobs: uses: shivammathur/setup-php@2.31.1 with: php-version: ${{ matrix.php-version }} - extensions: none, ctype, dom, json, mbstring, simplexml, tokenizer, xml, xmlwriter, pdo, pdo_mysql, curl, fileinfo, opcache, pcntl, posix + extensions: none, ctype, dom, json, mbstring, simplexml, tokenizer, xml, xmlwriter, pdo, pdo_mysql, curl, fileinfo, opcache, pcntl, posix, sockets ini-values: error_reporting=E_ALL coverage: xdebug diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index 79ef87a..ff9a00d 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -42,7 +42,7 @@ jobs: uses: shivammathur/setup-php@2.31.1 with: php-version: ${{ matrix.php-version }} - extensions: none, ctype, dom, json, mbstring, simplexml, tokenizer, xml, xmlwriter, pdo, pdo_mysql, pdo_sqlite, curl, fileinfo, opcache, pcntl, posix + extensions: none, ctype, dom, json, mbstring, simplexml, tokenizer, xml, xmlwriter, pdo, pdo_mysql, pdo_sqlite, curl, fileinfo, opcache, pcntl, posix, sockets ini-values: error_reporting=E_ALL coverage: xdebug @@ -79,7 +79,7 @@ jobs: - name: ๐Ÿ”‘ Generate secret application key working-directory: app - run: php artisan key:generate + run: php app.php encrypt:key -m .env - name: ๐Ÿงช Collect code coverage with Xdebug and pestphp/pest working-directory: app @@ -150,7 +150,7 @@ jobs: - name: ๐Ÿ”‘ Generate secret application key working-directory: app - run: php artisan key:generate + run: php app.php encrypt:key -m .env - name: ๐Ÿงช Run architecture tests using pestphp/pest working-directory: app @@ -214,7 +214,7 @@ jobs: - name: ๐Ÿ”‘ Generate secret application key working-directory: app - run: php artisan key:generate + run: php app.php encrypt:key -m .env - name: ๐Ÿงช Run mutation testing using Xdebug and infection/infection working-directory: app diff --git a/app/rector.php b/app/rector.php index 9fe1704..8149d44 100644 --- a/app/rector.php +++ b/app/rector.php @@ -10,7 +10,9 @@ return Config\RectorConfig::configure() ->withCache(__DIR__ . '/.build/rector/') ->withPaths([ - __DIR__ . '/app/src/', + __DIR__ . '/config/', + __DIR__ . '/migrations/', + __DIR__ . '/src/', __DIR__ . '/tests/', __DIR__ . '/.php-cs-fixer.dist.php', __DIR__ . '/rector.php',