![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/cartforge.co/vendor/codeception/module-webdriver/.github/workflows/ |
name: Static analysis on: push: branches: [ master ] pull_request: branches: [ master ] jobs: phpcs: name: Code style runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Install PHP uses: shivammathur/setup-php@v2 with: php-version: '8.1' ini-values: memory_limit=-1, date.timezone='UTC' tools: phpcs, phpstan - name: Validate composer.json run: composer validate - name: Install dependencies run: composer update - name: Generate action files run: vendor/bin/codecept build - name: Check production code style run: phpcs src/ - name: Check test code style run: phpcs tests/ --standard=tests/phpcs.xml - name: Static analysis of production code run: phpstan analyze src/ --level=1 - name: Static analysis of test code run: phpstan analyze tests/