Skip to content

chore!: change namespace to Phetit\DependencyInjection #18

chore!: change namespace to Phetit\DependencyInjection

chore!: change namespace to Phetit\DependencyInjection #18

Workflow file for this run

name: Formats
on:
push:
branches: ['main']
pull_request:
branches: ['main']
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
php: [8.1, 8.2]
name: PHP ${{ matrix.php }}
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup PHP Action
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: curl, xml, mbstring, zip
coverage: none
- name: Validate composer.json and composer.lock
run: composer validate --strict
- name: Install dependencies
run: composer install --prefer-dist --no-progress
- name: Coding style checks
run: vendor/bin/phpcs
- name: Static analysis checks
run: vendor/bin/phpcs