diff --git a/core/resources/.github/workflows/phpcsfixer.yml b/core/resources/.github/workflows/phpcsfixer.yml deleted file mode 100644 index 56e9238..0000000 --- a/core/resources/.github/workflows/phpcsfixer.yml +++ /dev/null @@ -1,34 +0,0 @@ -name: Format with PHP CS Fixer - -on: [pull_request] - -jobs: - php-cs-fixer: - runs-on: [self-hosted, ubuntu] - - steps: - - uses: actions/checkout@v2 - - - name: Setup PHP - uses: shivammathur/setup-php@v2 - with: - php-version: '8.1' - extensions: zip, mysql - coverage: none - env: - runner: self-hosted - - - name: Install Dependencies - run: composer install --no-ansi --no-interaction --no-scripts --prefer-dist - - - name: Copy env - run: cp .env.github .env - - - name: Generate Passport Keys - run: php artisan passport:keys - - - run: ./vendor/bin/php-cs-fixer fix - - - uses: stefanzweifel/git-auto-commit-action@v4 - with: - commit_message: Apply php-cs-fixer changes diff --git a/core/resources/.github/workflows/phpstan.yml b/core/resources/.github/workflows/phpstan.yml deleted file mode 100644 index 92f4629..0000000 --- a/core/resources/.github/workflows/phpstan.yml +++ /dev/null @@ -1,30 +0,0 @@ -name: Perform static analysis with PHPStan - -on: [pull_request] - -jobs: - larastan: - runs-on: [self-hosted, ubuntu] - - steps: - - uses: actions/checkout@v2 - - - name: Setup PHP - uses: shivammathur/setup-php@v2 - with: - php-version: '8.1' - extensions: zip, mysql - coverage: none - env: - runner: self-hosted - - - name: Install Dependencies - run: composer install --no-ansi --no-interaction --no-scripts --prefer-dist - - - name: Copy env - run: cp .env.github .env - - - name: Generate Passport Keys - run: php artisan passport:keys - - - run: ./vendor/bin/phpstan analyse diff --git a/core/src/Composer.php b/core/src/Composer.php index f41a533..66dc89f 100644 --- a/core/src/Composer.php +++ b/core/src/Composer.php @@ -9,12 +9,12 @@ class Composer { /** - * We'll ensure that the GitHub Action workflows and quality tools for code standards are set up. + * We'll ensure that the quality tools for code standards are set up. */ public static function postUpdate(ScriptEvent $event): void { // TODO: Return early if it was an install rather than update - // \Symfony\Component\VarDumper\VarDumper;::dump($event); + // \Symfony\Component\VarDumper\VarDumper::dump($event); $rootProjectDir = getcwd(); $resourcesDir = __DIR__ . '/../resources/';