Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🙈

File renamed without changes.
23 changes: 0 additions & 23 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,29 +28,6 @@ jobs:
- name: PHPStan
run: tools/phpstan/vendor/bin/phpstan analyze --no-progress --error-format=checkstyle | cs2pr

php-cs-fixer:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you forgot adding the workflow file for fabbot. :)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh my god 🤦🏻

name: PHP-CS-Fixer
runs-on: ubuntu-22.04

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.1
coverage: none
tools: cs2pr

- name: Install php-cs-fixer
uses: ramsey/composer-install@v1
with:
composer-options: "--working-dir=tools/php-cs-fixer"

- name: PHP-CS-Fixer
run: tools/php-cs-fixer/vendor/bin/php-cs-fixer fix --dry-run --diff

psalm:
name: Psalm
runs-on: ubuntu-22.04
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,4 @@ phpunit.xml
tools/*/composer.lock
tools/*/vendor
vendor/
.php-cs-fixer.cache
.phpunit.result.cache
11 changes: 0 additions & 11 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,6 @@ tools/phpstan/vendor/bin/phpstan analyze
tools/phpstan/vendor/bin/phpstan analyze --generate-baseline
```

PHP CS Fixer
------------

```bash
composer install --working-dir=tools/php-cs-fixer
# Check what can be fixed
tools/php-cs-fixer/vendor/bin/php-cs-fixer fix --dry-run --diff
# Fix them
tools/php-cs-fixer/vendor/bin/php-cs-fixer fix --diff
```

Psalm
-----

Expand Down
5 changes: 0 additions & 5 deletions tools/php-cs-fixer/composer.json

This file was deleted.

Loading